From cfe8f35bca61056363368c343be36812abde0a06 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Fri, 23 Sep 2016 00:18:16 +0800 Subject: Bug 697020: Remove variable only ever written to. --- platform/x11/jstest_main.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'platform/x11') diff --git a/platform/x11/jstest_main.c b/platform/x11/jstest_main.c index 264e2ec7..768d67f1 100644 --- a/platform/x11/jstest_main.c +++ b/platform/x11/jstest_main.c @@ -12,7 +12,6 @@ static pdfapp_t gapp; static int file_open = 0; -static char filename[1024] = ""; static char *scriptname; static char *output = "out%03d.png"; static char *prefix = NULL; @@ -350,7 +349,6 @@ main(int argc, char *argv[]) char path[1024]; if (file_open) pdfapp_close(&gapp); - strcpy(filename, line); if (prefix) { sprintf(path, "%s%s", prefix, line); -- cgit v1.2.3