summaryrefslogtreecommitdiff
path: root/test/plottest.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-04-08 10:47:56 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-04-08 10:47:56 +0000
commit2c6ba996e6c2afb32384344b00bb3d0a67b11fd5 (patch)
tree434b39da510b920e7b2b127293baa87c18db5eed /test/plottest.c
parent056e1ebed94379db41ebb2e40cc88a873cfb4411 (diff)
downloadlibnsfb-2c6ba996e6c2afb32384344b00bb3d0a67b11fd5.tar.gz
libnsfb-2c6ba996e6c2afb32384344b00bb3d0a67b11fd5.tar.bz2
Integrate the testsuite.
svn path=/trunk/libnsfb/; revision=7062
Diffstat (limited to 'test/plottest.c')
-rw-r--r--test/plottest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/plottest.c b/test/plottest.c
index 899f3f4..992fdd9 100644
--- a/test/plottest.c
+++ b/test/plottest.c
@@ -5,6 +5,8 @@
#include "libnsfb.h"
#include "libnsfb_plot.h"
+#define UNUSED(x) ((x) = (x))
+
extern const struct {
unsigned int width;
unsigned int height;
@@ -23,6 +25,9 @@ int main(int argc, char **argv)
int p[] = { 300,300, 350,350, 400,300, 450,250, 400,200};
int loop;
+ UNUSED(argc);
+ UNUSED(argv);
+
nsfb = nsfb_init(NSFB_FRONTEND_SDL);
if (nsfb == NULL) {
fprintf(stderr, "Unable to initialise nsfb with SDL frontend\n");