From 2c6ba996e6c2afb32384344b00bb3d0a67b11fd5 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 8 Apr 2009 10:47:56 +0000 Subject: Integrate the testsuite. svn path=/trunk/libnsfb/; revision=7062 --- test/plottest.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/plottest.c') 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"); -- cgit v1.2.3