1
0
mirror of https://github.com/sheumann/hush.git synced 2025-01-10 01:30:04 +00:00

Fix uninitialized variable.

-Erik
This commit is contained in:
Eric Andersen 2000-07-13 19:49:12 +00:00
parent f4c022649b
commit 156959ea93
2 changed files with 2 additions and 2 deletions
coreutils
tr.c

@ -160,7 +160,7 @@ static int complement(unsigned char *buffer, unsigned int buffer_len)
extern int tr_main(int argc, char **argv) extern int tr_main(int argc, char **argv)
{ {
register unsigned char *ptr; register unsigned char *ptr;
unsigned int output_length, input_length; unsigned int output_length=0, input_length;
int index = 1; int index = 1;
short i; short i;

2
tr.c

@ -160,7 +160,7 @@ static int complement(unsigned char *buffer, unsigned int buffer_len)
extern int tr_main(int argc, char **argv) extern int tr_main(int argc, char **argv)
{ {
register unsigned char *ptr; register unsigned char *ptr;
unsigned int output_length, input_length; unsigned int output_length=0, input_length;
int index = 1; int index = 1;
short i; short i;