From 16c9ee8011158c17a8dcf90c8c83a7861d622edd Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Thu, 11 Feb 2016 11:33:59 +0000 Subject: [PATCH] Initialize variable before use --- src/grib_dumper_class_debug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/grib_dumper_class_debug.c b/src/grib_dumper_class_debug.c index aa9531d3e..2f6eb90f0 100644 --- a/src/grib_dumper_class_debug.c +++ b/src/grib_dumper_class_debug.c @@ -163,7 +163,7 @@ static int test_bit(long a, long b) {return a&(1<length == 0 && (d->option_flags & GRIB_DUMP_FLAG_CODED) != 0) + if( a->length == 0 && (d->option_flags & GRIB_DUMP_FLAG_CODED) != 0) return; set_begin_end(d,a);