diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-07-13 19:49:12 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-07-13 19:49:12 +0000 |
commit | 156959ea938f2db927ed49ec19a4f993a30591bf (patch) | |
tree | fbcf95987c707aad19eb443dd2bc88259104c4cf /coreutils/tr.c | |
parent | f4c022649b73fcc05f4b8f7ae3dc7036f58de96d (diff) | |
download | busybox-w32-156959ea938f2db927ed49ec19a4f993a30591bf.tar.gz busybox-w32-156959ea938f2db927ed49ec19a4f993a30591bf.tar.bz2 busybox-w32-156959ea938f2db927ed49ec19a4f993a30591bf.zip |
Fix uninitialized variable.
-Erik
Diffstat (limited to 'coreutils/tr.c')
-rw-r--r-- | coreutils/tr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c index 563ee0837..89fe3f5b0 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c | |||
@@ -160,7 +160,7 @@ static int complement(unsigned char *buffer, unsigned int buffer_len) | |||
160 | extern int tr_main(int argc, char **argv) | 160 | extern int tr_main(int argc, char **argv) |
161 | { | 161 | { |
162 | register unsigned char *ptr; | 162 | register unsigned char *ptr; |
163 | unsigned int output_length, input_length; | 163 | unsigned int output_length=0, input_length; |
164 | int index = 1; | 164 | int index = 1; |
165 | short i; | 165 | short i; |
166 | 166 | ||