Clang warning: Value stored to 'v' during its initialization is never read

This commit is contained in:
Shahram Najm 2020-07-29 10:50:15 +01:00
parent 57b2d991dc
commit 5b0f7ba936
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ int main(int argc, char** argv)
size_t i = 0, line_number = 0;
char* str_key = NULL;
char* str_units = NULL;
bufr_descriptor v = {0,};
bufr_descriptor v;
const size_t maxlen_keyName = sizeof(v.shortName);
const size_t maxlen_units = sizeof(v.units);