Clang static analyser warnings

This commit is contained in:
Shahram Najm 2020-03-23 11:52:50 +00:00
parent f67c83b287
commit c1c3d10620
1 changed files with 2 additions and 1 deletions

View File

@ -2953,7 +2953,8 @@ static int process_elements(grib_accessor* a, int flag, long onlySubset, long st
numberOfNestedRepetitions = 0;
for (i = 0; i < numberOfDescriptors; i++) {
grib_context_log(c, GRIB_LOG_DEBUG, "BUFR data processing: elementNumber=%ld code=%6.6ld", icount++, descriptors[i]->code);
if (c->debug && descriptors)
grib_context_log(c, GRIB_LOG_DEBUG, "BUFR data processing: elementNumber=%ld code=%6.6ld", icount++, descriptors[i]->code);
switch (descriptors[i]->F) {
case 0:
/* Table B element */