summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2016-09-23 00:18:16 +0800
committerSebastian Rasmussen <sebras@gmail.com>2016-09-23 00:19:34 +0800
commitcfe8f35bca61056363368c343be36812abde0a06 (patch)
tree463cb0d84f91d4255f8e6b0e5cce22e2aa899056 /platform
parentd5f302b88925a879d1d3a760b1e0c8aeaff7159c (diff)
downloadmupdf-cfe8f35bca61056363368c343be36812abde0a06.tar.xz
Bug 697020: Remove variable only ever written to.
Diffstat (limited to 'platform')
-rw-r--r--platform/x11/jstest_main.c2
1 files changed, 0 insertions, 2 deletions
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);