libstdio: fix uninitialized variable CID 174334
This commit is contained in:
parent
34e6b0adc2
commit
5f22403176
|
@ -471,6 +471,7 @@ ocvt_flt(FILE *f, va_list *args, int flags, int width, int precision,
|
|||
eptr = nil;
|
||||
echr = 'e';
|
||||
fmt = afmt;
|
||||
exponent = 0;
|
||||
d = va_arg(*args, double);
|
||||
if(precision < 0) precision = 6;
|
||||
switch(fmt){
|
||||
|
|
Loading…
Reference in New Issue