summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-05-04 11:07:39 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-05-04 11:07:39 -0700
commit9f807dfb4e7bea7128b7538e41de78bb5994ca80 (patch)
treebf62279a9dc73761bc7d0e7f53003d8a2c24c361
parent06e9c86e3741355729748b6c646f7f738c583323 (diff)
bdftruncate: Make sure opt_minus_w and opt_plus_w are initialized
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--bdftruncate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bdftruncate.c b/bdftruncate.c
index e2b5d87..749869b 100644
--- a/bdftruncate.c
+++ b/bdftruncate.c
@@ -117,8 +117,8 @@ main(int argc, char **argv)
{
int removewide;
unsigned long threshold;
- int opt_minus_w;
- int opt_plus_w;
+ int opt_minus_w = 0;
+ int opt_plus_w = 0;
char *line, *input_ptr;
size_t line_len, rest_len;