X-Git-Url: https://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=snprintf%2Fvfprintf.c;h=1b8fba6721a8d1af6ed806959c1f2daf11c5d8e3;hp=d4953be28dca8f60024efabacda83e14cba4c157;hb=HEAD;hpb=e5bc3b0f4d6c0407492ebdea863483925393e1bc diff --git a/snprintf/vfprintf.c b/snprintf/vfprintf.c index d4953be..1b8fba6 100644 --- a/snprintf/vfprintf.c +++ b/snprintf/vfprintf.c @@ -239,7 +239,7 @@ int ust_safe_vfprintf(LFILE *fp, const char *fmt0, va_list ap) int dprec; /* a copy of prec if %[diouxX], 0 otherwise */ int realsz; /* field size expanded by dprec */ int size; /* size of converted field or string */ - const char *xdigs; /* digits for %[xX] conversion */ + const char *xdigs = NULL; /* digits for %[xX] conversion */ #define NIOV 8 struct __suio uio; /* output information: summary */ struct __siov iov[NIOV];/* ... and individual io vectors */