diff options
Diffstat (limited to 'test/plottest.c')
-rw-r--r-- | test/plottest.c | 5 |
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"); |