Fix uninitialized variable.
-Erik
This commit is contained in:
parent
f4c022649b
commit
156959ea93
@ -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
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user