mirror of https://github.com/ecmwf/eccodes.git
Tools: Initialise string buffer
This commit is contained in:
parent
d84441391b
commit
292c57a202
|
@ -1079,7 +1079,7 @@ void grib_print_key_values(grib_runtime_options* options, grib_handle* h)
|
||||||
int strlenvalue = 0;
|
int strlenvalue = 0;
|
||||||
double dvalue = 0;
|
double dvalue = 0;
|
||||||
long lvalue = 0;
|
long lvalue = 0;
|
||||||
char value[MAX_STRING_LEN];
|
char value[MAX_STRING_LEN] = {0,};
|
||||||
const char* notfound = "not_found";
|
const char* notfound = "not_found";
|
||||||
int written_to_dump = 0; /* boolean */
|
int written_to_dump = 0; /* boolean */
|
||||||
grib_accessor* acc = NULL;
|
grib_accessor* acc = NULL;
|
||||||
|
|
Loading…
Reference in New Issue