diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-04-25 22:00:36 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-04-25 22:00:36 +0000 |
commit | 96c3538c868828ab055a275a07d00969204a8903 (patch) | |
tree | c645b4db1a8353d2ca047b53fcae865c181c1a46 /converter | |
parent | c8d6fe013753d40d9cb7fd55b3e4d4df3c481407 (diff) | |
download | netpbm-mirror-96c3538c868828ab055a275a07d00969204a8903.tar.gz netpbm-mirror-96c3538c868828ab055a275a07d00969204a8903.tar.xz netpbm-mirror-96c3538c868828ab055a275a07d00969204a8903.zip |
Remove obsolete unused variable with buffer overflow
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@888 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r-- | converter/pbm/pbmtomacp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/converter/pbm/pbmtomacp.c b/converter/pbm/pbmtomacp.c index 82b55904..ad0b22b1 100644 --- a/converter/pbm/pbmtomacp.c +++ b/converter/pbm/pbmtomacp.c @@ -38,7 +38,6 @@ char *argv[]; int argn, rows, cols; int left,bottom,right,top; int lflg, rflg, tflg, bflg; - char name[100]; const char * const usage = "[-l left] [-r right] [-b bottom] [-t top] [pbmfile]"; @@ -84,11 +83,9 @@ char *argv[]; if ( argn == argc ) { ifp = stdin; - strcpy( name, "noname" ); } else { ifp = pm_openr( argv[argn] ); - strcpy( name, argv[argn] ); ++argn; } |