Regression introduced by fb486bb1a5038912d064291b12c7aef5da3d8b63

Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston <jerem...@apple.com>
---
 bdftruncate.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/bdftruncate.c b/bdftruncate.c
index a527305..2bd04f8 100644
--- a/bdftruncate.c
+++ b/bdftruncate.c
@@ -46,7 +46,6 @@ static void usage(void);
 
 static int opt_minus_w;
 static int opt_plus_w;
-static int removewide;
 static unsigned long threshold;
 
 static int
@@ -70,7 +69,7 @@ parse_threshold(const char *str)
 }
 
 static void
-process_line(const char *line)
+process_line(const char *line, int removewide)
 {
        if (strncmp(line, "ENCODING", 8) == 0) {
                unsigned long enc;
@@ -178,7 +177,7 @@ main(int argc, char **argv)
                                break;
                        }
                }
-               process_line(line);
+               process_line(line, removewide);
        }
 
        return EXIT_SUCCESS;
-- 
1.7.4.1


_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to