From 1b35a57b54c187571f892fbebcabe7cadab78f59 Mon Sep 17 00:00:00 2001 From: Uwe Schulzweida <uwe.schulzweida@mpimet.mpg.de> Date: Sun, 22 Jul 2012 21:05:23 +0000 Subject: [PATCH] stream_gribapi: fix ICC compiler warning --- src/stream_gribapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream_gribapi.c b/src/stream_gribapi.c index cd4d9f272..bc464c2eb 100644 --- a/src/stream_gribapi.c +++ b/src/stream_gribapi.c @@ -671,7 +671,7 @@ void grib2GetLevel(grib_handle *gh, int *leveltype, int *lbounds, int *level1, i status = grib_get_long(gh, "typeOfSecondFixedSurface", &lpar); if ( status == 0 ) leveltype2 = lpar; - if ( *leveltype == leveltype2 && leveltype != 255 ) *lbounds = 1; + if ( *leveltype == leveltype2 && *leveltype != 255 ) *lbounds = 1; if ( *lbounds == 0 ) { -- GitLab