xxd: fix use of non-initialized data
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
c4d296aa7c
commit
adb1c7dcfe
|
@ -229,7 +229,8 @@ int xxd_main(int argc UNUSED_PARAM, char **argv)
|
||||||
{
|
{
|
||||||
char buf[80];
|
char buf[80];
|
||||||
dumper_t *dumper;
|
dumper_t *dumper;
|
||||||
char *opt_l, *opt_s, *opt_o;
|
char *opt_l, *opt_o;
|
||||||
|
char *opt_s = NULL;
|
||||||
unsigned bytes = 2;
|
unsigned bytes = 2;
|
||||||
unsigned cols = 0;
|
unsigned cols = 0;
|
||||||
unsigned opt;
|
unsigned opt;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user