2025-01-27 21:27 ftp://ftp.de.debian.org/debian/pool/main/e/emoslib/emoslib_4.5.9.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --library=boost --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1016-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.59 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.16.0 head-info: 0f754d1 (2025-01-27 15:48:13 +0100) count: 997 TO! elapsed-time: 1120.0 1800.2 head-timing-info: old-timing-info: head results: emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/__func__-N2340.cpp:5:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/__func__-N2340.cpp:6:27: style: Checking if unsigned expression 'std::strlen(__func__)' is less than zero. [unsignedLessThanZero] emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/auto-N2546.cpp:11:9: style: Condition 'ret' is always true [knownConditionTrueFalse] emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/auto-N2546.cpp:8:27: note: Assignment 'ret=(sizeof(f)=sizeof(foo::bar))&&(sizeof(foo)>=sizeof(foo::bar)+sizeof(foo::baz))', assigned value is 1 emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/sizeof_member-N2253.cpp:13:9: note: Condition 'ret' is always true emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/trivial_type_traits.cpp:4:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/trivial_type_traits.cpp:4:16: style: Variable 'a' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/trivial_type_traits.cpp:5:16: style: Variable 'b' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/type_traits.cpp:4:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/type_traits.cpp:4:16: style: Variable 'a' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/cmake/contrib/GreatCMakeCookOff/cpp11/type_traits.cpp:5:16: style: Variable 'b' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/bt_sun_c.c:56:1: portability: Omitted return type of function 'gbytes_' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] emoslib-4.5.9/gribex/bt_sun_c.c:62:1: portability: Omitted return type of function 'gbyte_' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] emoslib-4.5.9/gribex/bt_sun_c.c:87:1: portability: Omitted return type of function 'sbytes_' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] emoslib-4.5.9/gribex/bt_sun_c.c:93:1: portability: Omitted return type of function 'sbyte_' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] emoslib-4.5.9/gribex/cgsloop.c:34:1: portability: Omitted return type of function 'gsdecode_' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] emoslib-4.5.9/gribex/cgsloop.c:78:1: portability: Omitted return type of function 'gsencode_' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] emoslib-4.5.9/gribex/bt_sun_c.c:63:6: style: Parameter 'p' can be declared as const array. However it seems that 'gbyte_' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/bt_sun_c.c:60:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/bt_sun_c.c:63:6: note: Parameter 'p' can be declared as const array emoslib-4.5.9/gribex/bt_sun_c.c:63:14: style: Parameter 'q' can be declared as pointer to const. However it seems that 'gbyte_' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/bt_sun_c.c:60:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/bt_sun_c.c:63:14: note: Parameter 'q' can be declared as pointer to const emoslib-4.5.9/gribex/bt_sun_c.c:63:17: style: Parameter 'b' can be declared as pointer to const. However it seems that 'gbyte_' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/bt_sun_c.c:60:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/bt_sun_c.c:63:17: note: Parameter 'b' can be declared as pointer to const emoslib-4.5.9/gribex/bt_sun_c.c:94:11: style: Parameter 'u' can be declared as pointer to const. However it seems that 'sbyte_' is a callback function, if 'u' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/bt_sun_c.c:91:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/bt_sun_c.c:94:11: note: Parameter 'u' can be declared as pointer to const emoslib-4.5.9/gribex/bt_sun_c.c:94:14: style: Parameter 'q' can be declared as pointer to const. However it seems that 'sbyte_' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/bt_sun_c.c:91:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/bt_sun_c.c:94:14: note: Parameter 'q' can be declared as pointer to const emoslib-4.5.9/gribex/bt_sun_c.c:94:17: style: Parameter 'b' can be declared as pointer to const. However it seems that 'sbyte_' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/bt_sun_c.c:91:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/bt_sun_c.c:94:17: note: Parameter 'b' can be declared as pointer to const emoslib-4.5.9/gribex/cgsloop.c:35:17: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:37:8: style: Parameter 'ist_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:37:19: style: Parameter 'ost_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:37:30: style: Parameter 'len_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:37:50: style: Parameter 'mask_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:37:62: style: Parameter 'ish_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:79:17: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:81:8: style: Parameter 'ist_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:81:19: style: Parameter 'ost_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:81:30: style: Parameter 'len_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:81:50: style: Parameter 'mask_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/cgsloop.c:81:62: style: Parameter 'ish_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/csgnbt.c:22:30: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] emoslib-4.5.9/gribex/csgnbt.c:16:13: style: Parameter 'kin' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/csgnbt.c:17:13: style: Parameter 'kpos' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/dsgnbt.c:22:30: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] emoslib-4.5.9/gribex/dsgnbt.c:16:13: style: Parameter 'kin' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/dsgnbt.c:17:13: style: Parameter 'kpos' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/findLocalDefinitionFile.c:30:22: style: Parameter 'fileName' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/findLocalDefinitionFile.c:46:8: style: Variable 'endString' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/findLocalDefinitionFile.c:45:25: style: Variable 'defaultDirectory' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/findLocalDefinitionFile.c:53:28: style: Variable 'defaultDirectoryChosen' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/findLocalDefinitionFile.c:60:28: style: Variable 'defaultDirectoryChosen' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/findLocalDefinitionFile.c:42:8: style: Unused variable: directoryName [unusedVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3294:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3324:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3397:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3535:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3633:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3710:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/fortranInterface.c:185:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/fortranInterface.c:278:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/ECMWFdefinitions.c:26:11: style: Variable 'n' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2247:15: style: Variable 'fourBlanks' can be declared as const array [constVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3184:13: style: Parameter 'collectedLocalDefinitionBytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3353:21: style: Variable 'np' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3448:13: style: Parameter 'definitionNumber' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3546:13: style: Parameter 'definitionNumber' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3699:13: style: Parameter 'destinationOffset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3701:13: style: Parameter 'sourceOffset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3702:13: style: Parameter 'length' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3706:8: style: Variable 'result' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/ECMWFdefinitions.c:42:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:67:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:92:22: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:123:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:293:22: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:321:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:337:10: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:872:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1031:22: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1063:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1293:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1529:22: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1576:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1669:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1907:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1946:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:1994:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2037:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2322:22: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2367:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2395:22: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2426:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2524:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2614:4: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2667:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2668:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2634:5: style: Unused variable: loop [unusedVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2707:5: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2790:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2799:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2735:5: style: Unused variable: loop [unusedVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2916:14: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2934:22: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2913:5: style: Unused variable: loop [unusedVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:2971:16: style: Unused variable: total [unusedVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3024:22: style: Variable 'n' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/ECMWFdefinitions.c:3052:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/fortranInterface.c:383:25: error: Common realloc mistake: 'listName' nulled but not freed upon failure [memleakOnRealloc] emoslib-4.5.9/gribex/fortranInterface.c:385:25: error: Common realloc mistake: 'listCode' nulled but not freed upon failure [memleakOnRealloc] emoslib-4.5.9/gribex/fortranInterface.c:423:29: error: Common realloc mistake: 'listName' nulled but not freed upon failure [memleakOnRealloc] emoslib-4.5.9/gribex/fortranInterface.c:426:29: error: Common realloc mistake: 'listCode' nulled but not freed upon failure [memleakOnRealloc] emoslib-4.5.9/gribex/fortranInterface.c:446:33: error: Common realloc mistake: 'listName' nulled but not freed upon failure [memleakOnRealloc] emoslib-4.5.9/gribex/fortranInterface.c:448:33: error: Common realloc mistake: 'listCode' nulled but not freed upon failure [memleakOnRealloc] emoslib-4.5.9/gribex/fortranInterface.c:209:26: warning: If memory allocation fails, then there is a possible null pointer dereference: contents [nullPointerOutOfMemory] emoslib-4.5.9/gribex/fortranInterface.c:330:34: note: Assuming allocation function fails emoslib-4.5.9/gribex/fortranInterface.c:330:34: note: Assignment 'loopName=strdup(a->description)', assigned value is 0 emoslib-4.5.9/gribex/fortranInterface.c:333:35: note: Calling function 'loadPrintLine', 3rd argument 'loopName' value is 0 emoslib-4.5.9/gribex/fortranInterface.c:209:26: note: Null pointer dereference emoslib-4.5.9/gribex/fortranInterface.c:211:27: warning: If memory allocation fails, then there is a possible null pointer dereference: contents [nullPointerOutOfMemory] emoslib-4.5.9/gribex/fortranInterface.c:330:34: note: Assuming allocation function fails emoslib-4.5.9/gribex/fortranInterface.c:330:34: note: Assignment 'loopName=strdup(a->description)', assigned value is 0 emoslib-4.5.9/gribex/fortranInterface.c:333:35: note: Calling function 'loadPrintLine', 3rd argument 'loopName' value is 0 emoslib-4.5.9/gribex/fortranInterface.c:211:27: note: Null pointer dereference emoslib-4.5.9/gribex/fortranInterface.c:400:42: style: Local variable 'a' shadows outer variable [shadowVariable] emoslib-4.5.9/gribex/fortranInterface.c:261:13: note: Shadowed declaration emoslib-4.5.9/gribex/fortranInterface.c:400:42: note: Shadow variable emoslib-4.5.9/gribex/fortranInterface.c:404:36: style: Local variable 'localDefinitionNumber' shadows outer variable [shadowVariable] emoslib-4.5.9/gribex/fortranInterface.c:260:13: note: Shadowed declaration emoslib-4.5.9/gribex/fortranInterface.c:404:36: note: Shadow variable emoslib-4.5.9/gribex/fortranInterface.c:109:18: style: Parameter 'unpackedValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/fortranInterface.c:162:55: style: Parameter 'length' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/fortranInterface.c:184:26: style: Parameter 'centre' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/fortranInterface.c:184:43: style: Parameter 'subcentre' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/fortranInterface.c:184:63: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/fortranInterface.c:200:15: style: Parameter 'contents' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/fortranInterface.c:201:15: style: Parameter 'code' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/fortranInterface.c:202:18: style: Parameter 'ksec1Value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/fortranInterface.c:205:10: style: Unused variable: p [unusedVariable] emoslib-4.5.9/gribex/fortranInterface.c:206:13: style: Unused variable: number [unusedVariable] emoslib-4.5.9/gribex/fortranInterface.c:460:37: style: Variable 'inLocal' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/fortranInterface.c:495:27: style: Variable 'first' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/fortranInterface.c:496:32: style: Variable 'firstLocal' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/fortranInterface.c:501:27: style: Variable 'Local' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/fortranInterface.c:265:9: style: Unused variable: printLength [unusedVariable] emoslib-4.5.9/gribex/fortranInterface.c:401:32: style: Unused variable: next [unusedVariable] emoslib-4.5.9/gribex/getValues.c:354:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/getValues.c:378:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:346:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:533:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:545:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:557:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:569:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:581:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:601:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:619:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:636:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:648:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:666:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:679:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:692:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:705:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:714:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:723:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:738:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:753:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:762:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:771:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:780:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:789:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:798:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:807:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:816:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:825:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:834:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:847:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:860:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:872:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:891:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:911:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:929:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:1099:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:1333:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:1360:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode.c:1436:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/getValues.c:33:18: style: Parameter 'original' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getValues.c:345:29: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getValues.c:345:67: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getValues.c:369:29: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getValues.c:369:67: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getsetValues.c:355:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/getsetValues.c:379:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/gdecode2.c:179:65: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getsetValues.c:19:18: style: Parameter 'original' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getsetValues.c:346:29: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getsetValues.c:346:67: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getsetValues.c:370:29: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/getsetValues.c:370:67: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/grpr190.c:37:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/grpr190.c:59:31: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] emoslib-4.5.9/gribex/grpr190.c:49:36: note: Assuming allocation function fails emoslib-4.5.9/gribex/grpr190.c:49:13: note: Assignment 'bytes=(unsigned char*)malloc(numberOfBytes*sizeof(fortint)+offset)', assigned value is 0 emoslib-4.5.9/gribex/grpr190.c:59:31: note: Null pointer addition emoslib-4.5.9/gribex/grpr190.c:60:12: style: Variable 'status' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/grpr190.c:39:23: style: Unused variable: numberOfUnpackedIntegers [unusedVariable] emoslib-4.5.9/gribex/grpr190.c:39:49: style: Unused variable: numberOfPackedBytes [unusedVariable] emoslib-4.5.9/gribex/jmalloc.c:64:23: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/jmalloc.c:74:29: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:414:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:467:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:516:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:644:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:704:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:807:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:912:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:978:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1128:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1153:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1383:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1572:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/local2c.c:44:20: style: Parameter 'ksec1' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/local2c.c:53:20: style: Variable 'pyfile' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/orefdat.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/orefdat.c:14:27: style: Parameter 'ksec1' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1337:7: style: Condition '!useInternalDefinition' is always true [knownConditionTrueFalse] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1309:29: note: Assignment 'useInternalDefinition=0', assigned value is 0 emoslib-4.5.9/gribex/handleLocalDefinitions.c:1314:20: note: Assuming condition is false emoslib-4.5.9/gribex/handleLocalDefinitions.c:1337:7: note: Condition '!useInternalDefinition' is always true emoslib-4.5.9/gribex/handleLocalDefinitions.c:1526:7: style: Condition '!useInternalDefinition' is always true [knownConditionTrueFalse] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1498:29: note: Assignment 'useInternalDefinition=0', assigned value is 0 emoslib-4.5.9/gribex/handleLocalDefinitions.c:1503:20: note: Assuming condition is false emoslib-4.5.9/gribex/handleLocalDefinitions.c:1526:7: note: Condition '!useInternalDefinition' is always true emoslib-4.5.9/gribex/handleLocalDefinitions.c:414:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'grib_int_t {aka signed long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/gribex/handleLocalDefinitions.c:467:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'grib_int_t {aka signed long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/gribex/handleLocalDefinitions.c:516:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'grib_int_t {aka signed long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/gribex/handleLocalDefinitions.c:669:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'grib_int_t {aka signed long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/gribex/handleLocalDefinitions.c:734:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'grib_int_t {aka signed long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/gribex/handleLocalDefinitions.c:807:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'grib_int_t {aka signed long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/gribex/handleLocalDefinitions.c:943:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'grib_int_t {aka signed long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1018:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'grib_int_t {aka signed long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1375:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1564:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] emoslib-4.5.9/gribex/handleLocalDefinitions.c:321:3: error: Memory leak: flag [memleak] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1325:15: style: Local variable 'number' shadows outer variable [shadowVariable] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1309:32: note: Shadowed declaration emoslib-4.5.9/gribex/handleLocalDefinitions.c:1325:15: note: Shadow variable emoslib-4.5.9/gribex/handleLocalDefinitions.c:1356:13: style: Local variable 'count' shadows outer variable [shadowVariable] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1351:10: note: Shadowed declaration emoslib-4.5.9/gribex/handleLocalDefinitions.c:1356:13: note: Shadow variable emoslib-4.5.9/gribex/handleLocalDefinitions.c:1514:15: style: Local variable 'number' shadows outer variable [shadowVariable] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1498:32: note: Shadowed declaration emoslib-4.5.9/gribex/handleLocalDefinitions.c:1514:15: note: Shadow variable emoslib-4.5.9/gribex/handleLocalDefinitions.c:1545:13: style: Local variable 'count' shadows outer variable [shadowVariable] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1540:10: note: Shadowed declaration emoslib-4.5.9/gribex/handleLocalDefinitions.c:1545:13: note: Shadow variable emoslib-4.5.9/gribex/handleLocalDefinitions.c:43:9: style: Parameter 'description' can be declared as pointer to const. However it seems that 'init' is a callback function, if 'description' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1290:16: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:43:9: note: Parameter 'description' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:44:9: style: Parameter 'octet' can be declared as pointer to const. However it seems that 'init' is a callback function, if 'octet' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1290:16: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:44:9: note: Parameter 'octet' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:45:9: style: Parameter 'code' can be declared as pointer to const. However it seems that 'init' is a callback function, if 'code' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1290:16: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:45:9: note: Parameter 'code' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:46:9: style: Parameter 'ksec1' can be declared as pointer to const. However it seems that 'init' is a callback function, if 'ksec1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1290:16: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:46:9: note: Parameter 'ksec1' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:47:9: style: Parameter 'count' can be declared as pointer to const. However it seems that 'init' is a callback function, if 'count' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1290:16: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:47:9: note: Parameter 'count' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:80:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:80:36: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:82:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:82:38: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:95:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:120:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'packPADMULT' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1264:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:120:29: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:140:31: style: Parameter 'a' can be declared as pointer to const. However it seems that 'unpackPADMULT' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1264:42: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:140:31: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:155:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'packPADFROM' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1265:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:155:29: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:173:31: style: Parameter 'a' can be declared as pointer to const. However it seems that 'unpackPADFROM' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1265:42: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:173:31: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:575:24: style: Parameter 'a' can be declared as pointer to const. However it seems that 'packA4' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1277:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:575:24: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:590:24: style: Parameter 'a' can be declared as pointer to const. However it seems that 'packA8' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1278:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:590:24: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:638:9: style: Variable 'relatedAction' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:696:9: style: Variable 'relatedAction' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:765:24: style: Parameter 'a' can be declared as pointer to const. However it seems that 'packL3' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1272:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:765:24: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:765:34: style: Parameter 'b' can be declared as pointer to const. However it seems that 'packL3' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1272:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:765:34: note: Parameter 'b' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:877:27: style: Parameter 'a' can be declared as pointer to const. However it seems that 'unpackPAD' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1262:42: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:877:27: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:904:9: style: Variable 'relatedAction' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:969:9: style: Variable 'relatedAction' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1077:9: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1099:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'packENDLIST' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1291:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:1099:29: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:1099:39: style: Parameter 'b' can be declared as pointer to const. However it seems that 'packENDLIST' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1291:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:1099:39: note: Parameter 'b' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:1101:31: style: Parameter 'a' can be declared as pointer to const. However it seems that 'unpackENDLIST' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1291:42: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:1101:31: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:1101:41: style: Parameter 'b' can be declared as pointer to const. However it seems that 'unpackENDLIST' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1291:42: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:1101:41: note: Parameter 'b' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:1103:27: style: Parameter 'a' can be declared as pointer to const. However it seems that 'packENDIF' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1259:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:1103:27: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:1103:37: style: Parameter 'b' can be declared as pointer to const. However it seems that 'packENDIF' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1259:29: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:1103:37: note: Parameter 'b' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:1105:29: style: Parameter 'a' can be declared as pointer to const. However it seems that 'unpackENDIF' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1259:42: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:1105:29: note: Parameter 'a' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:1105:39: style: Parameter 'b' can be declared as pointer to const. However it seems that 'unpackENDIF' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1259:42: note: You might need to cast the function pointer here emoslib-4.5.9/gribex/handleLocalDefinitions.c:1105:39: note: Parameter 'b' can be declared as pointer to const emoslib-4.5.9/gribex/handleLocalDefinitions.c:1230:15: style: Variable 'packedLengthValue' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1303:15: style: Variable 'fullPathName' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1311:7: style: Variable 'next' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1493:15: style: Variable 'fullPathName' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:1500:7: style: Variable 'next' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/handleLocalDefinitions.c:376:18: warning: Uninitialized variable: date [uninitvar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:362:23: note: Assuming condition is false emoslib-4.5.9/gribex/handleLocalDefinitions.c:376:18: note: Uninitialized variable: date emoslib-4.5.9/gribex/handleLocalDefinitions.c:476:18: warning: Uninitialized variable: value [uninitvar] emoslib-4.5.9/gribex/handleLocalDefinitions.c:444:23: note: Assuming condition is false emoslib-4.5.9/gribex/handleLocalDefinitions.c:476:18: note: Uninitialized variable: value emoslib-4.5.9/gribex/handleLocalDefinitions.c:141:19: style: Unused variable: loop [unusedVariable] emoslib-4.5.9/gribex/handleLocalDefinitions.c:222:23: style: Unused variable: loop [unusedVariable] emoslib-4.5.9/gribex/handleLocalDefinitions.c:241:23: style: Unused variable: loop [unusedVariable] emoslib-4.5.9/gribex/handleLocalDefinitions.c:881:58: style: Variable 'zero' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode1.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode1.c:28:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode1.c:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode1.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode1.c:17:48: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode1.c:32:48: style: Parameter 'total' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:28:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:36:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:58:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:88:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:171:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:186:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:194:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:201:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode2.c:17:48: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:32:48: style: Parameter 'total' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:47:48: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:62:48: style: Parameter 'startTimestep' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:77:47: style: Parameter 'endTimestep' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:92:48: style: Parameter 'domainNorthLatitude' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:104:50: style: Parameter 'domainNorthLatitude' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:109:48: style: Parameter 'domainWestLongitude' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:121:50: style: Parameter 'domainWestLongitude' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:126:48: style: Parameter 'domainSouthLatitude' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:138:50: style: Parameter 'domainSouthLatitude' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:143:48: style: Parameter 'domainEastLongitude' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:155:50: style: Parameter 'domainEastLongitude' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:160:48: style: Parameter 'operationalForecastCluster' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:175:48: style: Parameter 'controlForecastCluster' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:190:48: style: Parameter 'numberInCluster' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:205:48: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode2.c:205:65: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/valpina.c:28:49: style: Parameter 'istart' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/valpina.c:28:66: style: Parameter 'ifinish' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/valpina.c:39:24: style: Variable 'oldBitmap' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/valpina.c:81:49: style: Parameter 'isection_3_offset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/valpina.c:107:26: style: Variable 'last' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/valpina.c:158:17: style: Variable 'next' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/valpina.c:168:49: style: Parameter 'ioffset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/valpina.c:168:67: style: Parameter 'iindex' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/valpina.c:185:24: style: Variable 'oldBitmap' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/copy_spec_from_ksec.c:44:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable grib_util_grid_spec [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:103:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end7777 [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:225:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:303:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:322:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:341:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:360:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:395:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:460:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:498:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:516:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:574:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:623:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:672:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:690:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:709:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:727:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:747:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:770:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:777:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:800:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:807:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:830:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:837:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:860:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:867:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:998:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1013:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1468:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1481:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1538:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1558:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1605:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortdouble [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1675:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:1810:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/gribex/sencode.c:2572:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/copy_spec_from_ksec.c:81:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/copy_spec_from_ksec.c:81:9: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/copy_spec_from_ksec.c:37:11: style: Variable 'intf2_debug' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/describe_input_field.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/describe_input_field.c:113:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/describe_input_field.c:218:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/describe_input_field.c:532:17: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/describe_input_field.c:673:17: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/describe_input_field.c:321:19: style: Variable 'table' is reassigned a value before the old one has been used. [redundantAssignment] emoslib-4.5.9/interpolation/describe_input_field.c:309:19: note: table is assigned emoslib-4.5.9/interpolation/describe_input_field.c:321:19: note: table is overwritten emoslib-4.5.9/interpolation/describe_input_field.c:470:27: style: Checking if unsigned expression 'pl_len' is less than zero. [unsignedLessThanZero] emoslib-4.5.9/interpolation/describe_input_field.c:23:30: style: Parameter 'typeOfLevel' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/describe_input_field.c:78:11: style: Variable 'text' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/describe_input_field.c:99:11: style: Variable 'intf2_debug' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/describe_input_field.c:87:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/describe_input_field.c:445:23: style: Variable 'pl_len' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/describe_input_field.c:89:17: style: Unused variable: temp [unusedVariable] emoslib-4.5.9/interpolation/emos.c:82:11: style: Variable 'in_grib' can be declared as const array [constVariable] emoslib-4.5.9/interpolation/emos.c:83:11: style: Variable 'out_grib' can be declared as const array [constVariable] emoslib-4.5.9/interpolation/emos.c:90:11: style: Variable 'intf2_debug' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/emos.c:85:18: error: Uninitialized variable: in_grib [uninitvar] emoslib-4.5.9/interpolation/emos.c:85:55: error: Uninitialized variable: out_grib [uninitvar] emoslib-4.5.9/interpolation/fftchk.c:23:26: style: Parameter 'trunc' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/fftchk.c:23:41: style: Parameter 'longinc' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/gmapbit.c:17:13: style: Parameter 'columnCount' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/gmapbit.c:18:13: style: Parameter 'row' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/gmapbit.c:19:13: style: Parameter 'column' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/hirlam_userspace.c:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/hirlam_userspace.c:50:21: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] emoslib-4.5.9/interpolation/hirlam_userspace.c:31:92: style: Parameter 'nbytes_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/hirlam_userspace.c:44:75: style: Parameter 'nbytes_' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/hirlam_userspace.c:46:25: style: Variable 'temp_array' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intf2.c:100:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/intf2.c:120:13: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/interpolation/intf2.c:206:13: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/interpolation/intf2.c:238:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intf2.c:304:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/interpolation/intf2.c:26:40: style: Parameter 'length_in' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/intf2.c:70:11: style: Variable 'intf2_debug' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intf2.c:71:11: style: Variable 'intf2_write' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intf2.c:60:13: style: Variable 'err1' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intf2.c:61:19: style: Variable 'what' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intf2.c:63:10: style: Unused variable: nins [unusedVariable] emoslib-4.5.9/interpolation/intf2.c:63:16: style: Unused variable: niwe [unusedVariable] emoslib-4.5.9/interpolation/intf2.c:64:10: style: Variable 'acc' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intf2.c:67:12: style: Unused variable: size [unusedVariable] emoslib-4.5.9/interpolation/intf2.c:71:11: style: Variable 'intf2_write' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intf2.c:72:9: style: Variable 'jpeg' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intlogs.c:38:21: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/intuvp2.c:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/intuvp2.c:200:7: style: The if condition is the same as the previous if condition [duplicateCondition] emoslib-4.5.9/interpolation/intuvp2.c:190:8: note: First condition emoslib-4.5.9/interpolation/intuvp2.c:200:7: note: Second condition emoslib-4.5.9/interpolation/intuvp2.c:334:19: style: Condition '0&&gribex_compatibility' is always false [knownConditionTrueFalse] emoslib-4.5.9/interpolation/intuvp2.c:110:23: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:121:13: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/interpolation/intuvp2.c:130:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:142:23: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:254:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:263:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:314:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:402:17: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:424:17: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:436:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvp2.c:48:12: style:inconclusive: Same expression used in consecutive assignments of 'outlen' and 'outlen1'. [duplicateAssignExpression] emoslib-4.5.9/interpolation/intuvp2.c:49:12: note: Same expression used in consecutive assignments of 'outlen' and 'outlen1'. emoslib-4.5.9/interpolation/intuvp2.c:48:12: note: Same expression used in consecutive assignments of 'outlen' and 'outlen1'. emoslib-4.5.9/interpolation/intuvp2.c:26:66: style: Parameter 'length_in' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/intuvp2.c:58:11: style: Variable 'text' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intuvp2.c:63:18: style: Variable 'outh_u' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intuvp2.c:63:34: style: Variable 'outh_v' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intuvp2.c:72:11: style: Variable 'intf2_debug' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intuvp2.c:73:11: style: Variable 'intf2_write' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intuvp2.c:445:57: style: Variable 'handle1' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intuvp2.c:446:57: style: Variable 'handle2' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intuvp2.c:49:12: style: Variable 'outlen1' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intuvp2.c:55:9: style: Variable 'jpeg' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intuvp2.c:55:36: style: Variable 'what' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intuvp2.c:63:18: style: Variable 'outh_u' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intuvp2.c:63:34: style: Variable 'outh_v' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intuvp2.c:65:9: style: Variable 'grib_err' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intuvs2.c:90:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/intuvs2.c:101:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:113:13: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/interpolation/intuvs2.c:122:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:142:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:228:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:237:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:289:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:385:17: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:469:17: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:481:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intuvs2.c:25:66: style: Parameter 'length_in' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/intuvs2.c:53:11: style: Variable 'text' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intuvs2.c:54:11: style: Variable 'complex_switch' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intuvs2.c:64:11: style: Variable 'intf2_debug' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intuvs2.c:51:9: style: Variable 'jpeg' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intvect2.c:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/intvect2.c:109:23: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:118:23: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:128:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:136:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:249:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:258:13: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:309:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:380:17: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:391:17: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:405:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/intvect2.c:50:12: style:inconclusive: Same expression used in consecutive assignments of 'outlen' and 'outlen1'. [duplicateAssignExpression] emoslib-4.5.9/interpolation/intvect2.c:51:12: note: Same expression used in consecutive assignments of 'outlen' and 'outlen1'. emoslib-4.5.9/interpolation/intvect2.c:50:12: note: Same expression used in consecutive assignments of 'outlen' and 'outlen1'. emoslib-4.5.9/interpolation/intvect2.c:23:62: style: Parameter 'length_in' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/intvect2.c:57:18: style: Variable 'outh_u' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intvect2.c:57:34: style: Variable 'outh_v' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intvect2.c:65:11: style: Variable 'text' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intvect2.c:70:11: style: Variable 'intf2_debug' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intvect2.c:71:11: style: Variable 'intf2_write' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/intvect2.c:51:12: style: Variable 'outlen1' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intvect2.c:57:18: style: Variable 'outh_u' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intvect2.c:57:34: style: Variable 'outh_v' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intvect2.c:59:9: style: Variable 'grib_err' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intvect2.c:61:10: style: Variable 'accuracy' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/intvect2.c:65:11: style: Variable 'text' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/itimer.c:97:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/itimer.c:51:23: style: Parameter 'time' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/itimer.c:84:17: style: Parameter 'seconds' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/itimer.c:98:8: style: Unused variable: istat [unusedVariable] emoslib-4.5.9/interpolation/jchmod.c:30:24: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/jchmod.c:30:41: style: Parameter 'char_mode' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/jindex.c:20:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/jopnggsm.c:208:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortfloat [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/jopnggsm.c:189:8: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/jopnggsm.c:194:15: style: Variable 'oldresult' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/jopnggsm.c:203:7: style: Variable 'dbg' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/jopnggsm.c:412:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/jopnllsm.c:223:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortfloat [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/jopnllsm.c:56:18: style: Parameter 'seconds' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/jopnllsm.c:80:14: style: Parameter 'platinc' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/jopnllsm.c:201:8: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/jopnllsm.c:206:15: style: Variable 'oldresult' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/jopnllsm.c:218:7: style: Variable 'dbg' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/jopnllsm.c:434:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/jopnllsm.c:182:7: style: Unused variable: time1 [unusedVariable] emoslib-4.5.9/interpolation/jopnllsm.c:182:14: style: Unused variable: time2 [unusedVariable] emoslib-4.5.9/interpolation/makemap.c:24:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/makemap.c:259:6: style: Variable 'delimiter' can be declared as const array [constVariable] emoslib-4.5.9/interpolation/makemap.c:268:26: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/makemap.c:279:6: style: Variable 'mask' can be declared as const array [constVariable] emoslib-4.5.9/interpolation/makemap.c:55:63: style: Variable 'previousDelimiter' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/rename_unlink.c:39:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/rename_unlink.c:69:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/rename_unlink.c:32:24: style: Parameter 'oldname' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/rename_unlink.c:32:40: style: Parameter 'newname' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/rename_unlink.c:62:24: style: Parameter 'oldname' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/sharedgg.c:50:12: style: Parameter 'iktrunc' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/sharedgg.c:51:12: style: Parameter 'knum' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/sharedgg.c:80:8: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/sharedgg.c:82:15: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/sharedgg.c:86:11: style: Variable 'exist' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/sharedgg.c:107:8: style: Variable 'l1' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/sharedgg.c:108:8: style: Variable 'l2' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/sharedgg.c:71:6: style: Unused variable: filedum [unusedVariable] emoslib-4.5.9/interpolation/sharedgg.c:79:5: style: Unused variable: kbuild [unusedVariable] emoslib-4.5.9/interpolation/sharedgg.c:81:16: style: Unused variable: fpindex [unusedVariable] emoslib-4.5.9/interpolation/sharedgg.c:82:15: style: Unused variable: fp [unusedVariable] emoslib-4.5.9/interpolation/sharedgg.c:87:5: style: Unused variable: status [unusedVariable] emoslib-4.5.9/interpolation/sharedgg.c:88:7: style: Unused variable: process_id [unusedVariable] emoslib-4.5.9/interpolation/sharedlib.c:83:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/sharedlib.c:365:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/interpolation/sharedlib.c:327:26: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] emoslib-4.5.9/interpolation/sharedlib.c:324:21: note: outer condition: semcount<30 emoslib-4.5.9/interpolation/sharedlib.c:327:26: note: opposite inner condition: semcount>=30 emoslib-4.5.9/interpolation/sharedlib.c:89:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/sharedlib.c:95:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/sharedlib.c:95:9: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/sharedlib.c:109:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/sharedlib.c:196:9: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/interpolation/sharedlib.c:198:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/interpolation/sharedlib.c:203:9: portability: %ld in format string (no. 3) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/interpolation/sharedlib.c:365:9: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/sharedlib.c:365:9: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/interpolation/sharedlib.c:32:11: style: Variable 'var' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/sharedlib.c:349:31: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/gdecode.c:252:10: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] emoslib-4.5.9/gribex/gdecode.c:63:7: style: Variable 'section1Offset' is assigned an expression that holds the same value. [redundantAssignment] emoslib-4.5.9/gribex/gdecode.c:51:20: note: section0Offset is assigned '(long)(q-buffer-4)' here. emoslib-4.5.9/gribex/gdecode.c:63:7: note: Variable 'section1Offset' is assigned an expression that holds the same value. emoslib-4.5.9/gribex/gdecode.c:117:9: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] emoslib-4.5.9/gribex/gdecode.c:116:42: note: q is assigned emoslib-4.5.9/gribex/gdecode.c:117:9: note: q is overwritten emoslib-4.5.9/gribex/gdecode.c:129:7: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] emoslib-4.5.9/gribex/gdecode.c:128:42: note: q is assigned emoslib-4.5.9/gribex/gdecode.c:129:7: note: q is overwritten emoslib-4.5.9/gribex/gdecode.c:147:7: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] emoslib-4.5.9/gribex/gdecode.c:139:40: note: q is assigned emoslib-4.5.9/gribex/gdecode.c:147:7: note: q is overwritten emoslib-4.5.9/gribex/gdecode.c:220:48: style: Parameter 'valuePointer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/gdecode.c:593:63: style: Parameter 'sizeList' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/gdecode.c:612:60: style: Parameter 'sizeList' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/gdecode.c:1063:13: style: Parameter 'arraySize' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/gdecode.c:1065:16: style: Parameter 'userSuppliedMissingValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/gdecode.c:1488:41: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/sharedll.c:51:12: style: Parameter 'iktrunc' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/sharedll.c:52:11: style: Parameter 'platinc' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/interpolation/sharedll.c:81:8: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/sharedll.c:83:15: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/interpolation/sharedll.c:87:11: style: Variable 'exist' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/sharedll.c:113:8: style: Variable 'l1' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/sharedll.c:114:8: style: Variable 'l2' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/interpolation/sharedll.c:72:6: style: Unused variable: filedum [unusedVariable] emoslib-4.5.9/interpolation/sharedll.c:82:16: style: Unused variable: fpindex [unusedVariable] emoslib-4.5.9/interpolation/sharedll.c:83:15: style: Unused variable: fp [unusedVariable] emoslib-4.5.9/interpolation/sharedll.c:88:5: style: Unused variable: status [unusedVariable] emoslib-4.5.9/interpolation/sharedll.c:89:7: style: Unused variable: process_id [unusedVariable] emoslib-4.5.9/gribex/gdecode.c:1252:40: error: Uninitialized variable: primaryBitmap [legacyUninitvar] emoslib-4.5.9/gribex/gdecode.c:120:22: style: Variable 'section2Length' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/gdecode.c:132:22: style: Variable 'section3Length' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/gdecode.c:38:15: style: Unused variable: p [unusedVariable] emoslib-4.5.9/gribex/gdecode.c:38:18: style: Unused variable: edit_num [unusedVariable] emoslib-4.5.9/gribex/gdecode.c:355:19: style: Unused variable: timerange [unusedVariable] emoslib-4.5.9/gribex/gdecode.c:1019:32: style: Variable 'count' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/gdecode.c:1040:10: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/gdecode.c:1089:13: style: Variable 'one' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/gdecode.c:1069:26: style: Unused variable: bitStart [unusedVariable] emoslib-4.5.9/gribex/gdecode.c:1383:6: style: Variable 'ni' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/gdecode.c:1431:53: style: Variable 'one' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/gdecode.c:1450:8: style: Variable 'nj' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/gdecode.c:1431:9: style: Unused variable: loop [unusedVariable] emoslib-4.5.9/gribex/sencode.c:72:11: style: Condition 'status' is always false [knownConditionTrueFalse] emoslib-4.5.9/gribex/sencode.c:70:31: note: Calling function 'initialiseNewGrib' returns 0 emoslib-4.5.9/gribex/sencode.c:70:31: note: Assignment 'status=initialiseNewGrib(newGrib)', assigned value is 0 emoslib-4.5.9/gribex/sencode.c:72:11: note: Condition 'status' is always false emoslib-4.5.9/gribex/sencode.c:81:11: style: Condition 'status' is always false [knownConditionTrueFalse] emoslib-4.5.9/gribex/sencode.c:79:30: note: Calling function 'copyExistingGrib' returns 0 emoslib-4.5.9/gribex/sencode.c:79:30: note: Assignment 'status=copyExistingGrib(newGrib,oldGrib)', assigned value is 0 emoslib-4.5.9/gribex/sencode.c:81:11: note: Condition 'status' is always false emoslib-4.5.9/pbio/crexrd.c:32:33: style: Parameter 'bufflen' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/crexrd.c:42:6: style: Variable 'PlPlCrCrLf7777' can be declared as const array [constVariable] emoslib-4.5.9/gribex/sencode.c:488:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] emoslib-4.5.9/pbio/extras.c:19:42: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/extras.c:33:23: style: Parameter 'env_string' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/fort2c.c:24:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:211:60: style: Parameter 'bufferLength' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:279:47: style: Parameter 'YYYYMMDD' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:310:48: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:321:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:329:48: style: Parameter 'centre' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:340:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:348:48: style: Parameter 'parameter' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:359:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:367:48: style: Parameter 'typeOfLevel' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:394:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:402:48: style: Parameter 'level' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:459:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:467:48: style: Parameter 'timeUnit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:497:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:505:48: style: Parameter 'timeRangeIndicator' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:515:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:523:47: style: Parameter 'timeStep' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:573:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:581:48: style: Parameter 'timeStepP1' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:622:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:630:48: style: Parameter 'timeStepP2' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:671:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:679:48: style: Parameter 'numberInAverage' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:689:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:698:48: style: Parameter 'numberMissing' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:708:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:716:48: style: Parameter 'subCentreId' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:726:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:734:48: style: Parameter 'decimalScale' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:746:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:754:47: style: Parameter 'ecmwfType' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:776:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:784:48: style: Parameter 'ecmwfClass' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:806:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:814:48: style: Parameter 'ecmwfStream' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:836:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:844:48: style: Parameter 'ecmwfExpver' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:866:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:875:48: style: Parameter 'definitionNumber' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:997:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:1005:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1019:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1150:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1163:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1169:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1182:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1188:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1201:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1207:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1220:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1226:45: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1237:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1243:45: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1254:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1261:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:1270:49: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1276:45: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1293:45: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1310:44: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1328:44: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1341:44: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1355:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:1369:45: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1383:45: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1397:45: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1412:15: style: Variable 'g' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:1426:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1437:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1443:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1454:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1486:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1502:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1508:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1524:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1563:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1680:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1685:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1690:48: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1695:51: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1703:13: style: Parameter 'arraySize' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:1704:16: style: Parameter 'userSuppliedMissingValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:2466:45: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/gribex/sencode.c:2466:60: style: Parameter 'sizeList' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/fort2c_hppa.c:25:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/gbyte.c:62:12: style: Parameter 'startSkip' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:64:12: style: Parameter 'skipBetweenValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:65:12: style: Parameter 'numberOfValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:112:12: style: Parameter 'nextValueFirstBit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:113:12: style: Parameter 'bitsPerValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:125:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/gbyte.c:175:12: style: Parameter 'startSkip' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:177:12: style: Parameter 'skipBetweenValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:178:12: style: Parameter 'numberOfValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:225:12: style: Parameter 'nextValueFirstBit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:226:12: style: Parameter 'bitsPerValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte.c:239:11: style: Variable 'source' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/gribex/sencode.c:321:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:340:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:359:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:394:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:459:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:497:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:515:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:573:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:622:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:671:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:689:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:708:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:726:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:746:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:776:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:806:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:836:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:866:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:868:16: style: Unused variable: newG1 [unusedVariable] emoslib-4.5.9/gribex/sencode.c:877:19: style: Unused variable: local [unusedVariable] emoslib-4.5.9/gribex/sencode.c:997:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:1355:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:1412:17: style: Variable 'g' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:1707:56: style: Variable 'nextNonMissingValue' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/gribex/sencode.c:1710:37: style: Unused variable: truncation [unusedVariable] emoslib-4.5.9/gribex/sencode.c:2405:44: style: Variable 'east' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/gbyte_alpha.c:43:10: style: Parameter 'startSkip' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:44:10: style: Parameter 'bitsPerValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:45:10: style: Parameter 'skipBetweenValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:46:10: style: Parameter 'numberOfValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:67:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/gbyte_alpha.c:95:10: style: Parameter 'startSkip' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:96:10: style: Parameter 'bitsPerValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:114:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/gbyte_alpha.c:136:10: style: Parameter 'startSkip' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:137:10: style: Parameter 'bitsPerValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:138:10: style: Parameter 'skipBetweenValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:139:10: style: Parameter 'numberOfValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_alpha.c:161:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/gbyte_alpha.c:166:17: style: Variable 'setBit0' can be declared as const array [constVariable] emoslib-4.5.9/pbio/gbyte_alpha.c:167:17: style: Variable 'setBit1' can be declared as const array [constVariable] emoslib-4.5.9/pbio/lwsize.c:61:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/mvchars.c:18:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:44:10: style: Parameter 'bitToSkip' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:45:10: style: Parameter 'bitsPerValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:67:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/gbyte_le.c:237:10: style: Parameter 'startSkip' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:238:10: style: Parameter 'bitsPerValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:239:10: style: Parameter 'skipBetweenValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:240:10: style: Parameter 'numberOfValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:295:10: style: Parameter 'startSkip' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:296:10: style: Parameter 'bitsPerValue' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:297:10: style: Parameter 'skipBetweenValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:298:10: style: Parameter 'numberOfValues' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/gbyte_le.c:320:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/gbyte_le.c:325:17: style: Variable 'setBit0' can be declared as const array [constVariable] emoslib-4.5.9/pbio/gbyte_le.c:326:17: style: Variable 'setBit1' can be declared as const array [constVariable] emoslib-4.5.9/pbio/gbyte_le.c:170:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] emoslib-4.5.9/pbio/gbyte_le.c:171:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] emoslib-4.5.9/pbio/gbyte_le.c:172:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] emoslib-4.5.9/pbio/gbyte_le.c:81:15: style: Variable 't' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/gbyte_le.c:118:18: style: Variable 'destination' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/gbyte_le.c:128:18: style: Variable 'moveBitsLeft' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/gbyte_le.c:65:7: style: Unused variable: bytesPerValue [unusedVariable] emoslib-4.5.9/pbio/gbyte_le.c:272:12: style: Variable 'nextBit' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/gbyte_le.c:263:12: style: Unused variable: bit [unusedVariable] emoslib-4.5.9/pbio/gbyte_le.c:263:17: style: Unused variable: byte [unusedVariable] emoslib-4.5.9/pbio/gbyte_le.c:263:23: style: Unused variable: bitShift [unusedVariable] emoslib-4.5.9/pbio/newpbio.c:49:0: error: #else without #if [preprocessorErrorDirective] emoslib-4.5.9/pbio/pbio.c:314:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] emoslib-4.5.9/pbio/pbio.c:1080:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] emoslib-4.5.9/pbio/pbio_alpha.c:556:4: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] emoslib-4.5.9/pbio/pbio_alpha.c:193:37: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:193:54: style: Parameter 'whence' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:256:52: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:293:53: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:330:36: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:330:53: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:384:39: style: Parameter 'buffsize' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:403:39: style: Parameter 'buffsize' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:422:39: style: Parameter 'buffsize' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:445:22: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:520:24: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:520:55: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:559:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:559:45: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:682:26: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:697:24: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:697:40: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:697:58: style: Parameter 'whence' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:739:26: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:739:39: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:739:57: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio_alpha.c:665:25: warning: Uninitialized variable: oflag [uninitvar] emoslib-4.5.9/pbio/pbio_alpha.c:633:11: note: Assuming condition is false emoslib-4.5.9/pbio/pbio_alpha.c:665:25: note: Uninitialized variable: oflag emoslib-4.5.9/pbio/pbio_alpha.c:665:41: warning: Uninitialized variable: filemode [uninitvar] emoslib-4.5.9/pbio/pbio_alpha.c:633:11: note: Assuming condition is false emoslib-4.5.9/pbio/pbio_alpha.c:665:41: note: Uninitialized variable: filemode emoslib-4.5.9/pbio/pbio_alpha.c:508:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/PBGroutines.c:1710:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/pbio/PBGroutines.c:2414:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/pbio/pbsize.c:85:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/pbio.c:1042:15: error: Array 'modebuff[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] emoslib-4.5.9/pbio/pbio.c:1037:29: note: Assignment 'n2=(l2>10)?10:l2', assigned value is 10 emoslib-4.5.9/pbio/pbio.c:1042:15: note: Array index out of bounds emoslib-4.5.9/pbio/pbio.c:894:14: style: Condition '*iret==-1' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/pbio.c:937:14: style: Condition '*iret==-1' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/pbio.c:334:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:475:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long long'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:482:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long long'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:488:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long long'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:508:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long long'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:598:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long long'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:606:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long long'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:871:6: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:892:10: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:903:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:903:7: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:908:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:909:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/pbio.c:928:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/pbio/pbio.c:933:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/pbio/pbio.c:946:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/pbio/pbio.c:946:7: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] emoslib-4.5.9/pbio/pbio.c:971:4: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] emoslib-4.5.9/pbio/pbio.c:1386:7: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] emoslib-4.5.9/pbio/pbio.c:1429:7: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] emoslib-4.5.9/pbio/pbio.c:276:9: style: Variable 'n' is reassigned a value before the old one has been used. [redundantAssignment] emoslib-4.5.9/pbio/pbio.c:268:9: note: n is assigned emoslib-4.5.9/pbio/pbio.c:276:9: note: n is overwritten emoslib-4.5.9/pbio/pbio.c:84:33: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:84:43: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:370:37: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:370:53: style: Parameter 'whence' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:445:41: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:445:57: style: Parameter 'whence' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:622:50: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:675:51: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:721:35: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:721:51: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:817:24: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:817:51: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:859:24: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:859:50: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:917:24: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:917:50: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:980:34: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:980:44: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1132:25: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1158:24: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1158:38: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1158:54: style: Parameter 'whence' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1217:25: style: Parameter 'unit' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1217:36: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1217:52: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1252:23: style: Parameter 'buffsize' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1289:23: style: Parameter 'buffsize' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1325:23: style: Parameter 'buffsize' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1456:33: style: Parameter 'bufflen' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/pbio.c:1467:6: style: Variable 'PlPlCrCrLf7777' can be declared as const array [constVariable] emoslib-4.5.9/pbio/readprod_alpha.c:53:26: style: Parameter 'prod_id' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/readprod_alpha.c:154:13: style: Variable 'numread' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/readprod_alpha.c:169:13: style: Variable 'numread' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/readprod_alpha.c:176:15: style: Variable 'numread' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/readprod_alpha.c:83:20: style: Variable 'num' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/readprod_alpha.c:359:15: style: Unused variable: next_len [unusedVariable] emoslib-4.5.9/pbio/readprod_alpha.c:445:34: style: Variable 'next_sec' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/readprod_alpha.c:445:9: style: Unused variable: next [unusedVariable] emoslib-4.5.9/pbio/readprod_alpha.c:445:15: style: Unused variable: next_len [unusedVariable] emoslib-4.5.9/pbio/readprod.c:711:49: style: Condition 'grab(buffer,&p,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/readprod.c:711:17: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/readprod.c:711:49: note: Condition 'grab(buffer,&p,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/readprod.c:718:47: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/readprod.c:718:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/readprod.c:718:47: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/readprod.c:727:52: style: Condition 'grab(buffer,&edit_num,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/readprod.c:727:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/readprod.c:727:52: note: Condition 'grab(buffer,&edit_num,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/readprod.c:739:47: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/readprod.c:739:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/readprod.c:739:47: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/readprod.c:746:50: style: Condition 'grab(buffer,&flag23,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/readprod.c:746:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/readprod.c:746:50: note: Condition 'grab(buffer,&flag23,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/readprod.c:759:51: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/readprod.c:759:17: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/readprod.c:759:51: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/readprod.c:769:51: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/readprod.c:769:17: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/readprod.c:769:51: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/readprod.c:777:47: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/readprod.c:777:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/readprod.c:777:47: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/readprod.c:72:26: style: Parameter 'prod_id' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/readprod.c:789:24: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/readprod.c:810:16: style: Variable 'endBuffer' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/recheckLength.c:59:49: style: Condition 'grab(buffer,&p,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:59:17: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:59:49: note: Condition 'grab(buffer,&p,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:66:47: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:66:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:66:47: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:76:52: style: Condition 'grab(buffer,&edit_num,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:76:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:76:52: note: Condition 'grab(buffer,&edit_num,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:88:47: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:88:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:88:47: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:95:50: style: Condition 'grab(buffer,&flag23,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:95:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:95:50: note: Condition 'grab(buffer,&flag23,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:108:51: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:108:17: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:108:51: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:118:51: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:118:17: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:118:51: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:126:47: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:126:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:126:47: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:134:51: style: Condition 'grab(buffer,grp_7777,4,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/recheckLength.c:134:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/recheckLength.c:134:51: note: Condition 'grab(buffer,grp_7777,4,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/recheckLength.c:16:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/recheckLength.c:142:24: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/readprod.c:213:13: style: Variable 'numread' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/readprod.c:370:13: style: Variable 'num' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/readprod.c:380:32: style: Variable 'fileReadResult' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/readprod.c:846:18: style: Variable 'endFound' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/setpar.c:26:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fortint [valueFlowBailoutIncompleteVar] emoslib-4.5.9/tools/gg_gridname.c:52:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] emoslib-4.5.9/sandbox/emos_tool.c:321:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/sandbox/emos_tool.c:463:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/sandbox/emos_tool.c:626:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/sandbox/emos_tool.c:700:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] emoslib-4.5.9/tools/gg_gridname.c:151:36: style: Condition 'T=='N'' is always true [knownConditionTrueFalse] emoslib-4.5.9/tools/gg_gridname.c:149:37: note: Assuming that condition 'T=='N'' is not redundant emoslib-4.5.9/tools/gg_gridname.c:151:36: note: Condition 'T=='N'' is always true emoslib-4.5.9/tools/gg_gridname.c:161:27: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/tools/gg_gridname.c:148:23: style: Local variable 'kret' shadows outer variable [shadowVariable] emoslib-4.5.9/tools/gg_gridname.c:49:11: note: Shadowed declaration emoslib-4.5.9/tools/gg_gridname.c:148:23: note: Shadow variable emoslib-4.5.9/tools/gg_gridname.c:151:41: style: Argument 'T=='N'?'R':T' to init list { is always 82. It does not matter what value 'T' has. [knownArgument] emoslib-4.5.9/tools/gg_gridname.c:151:24: style: Variable 'htype' can be declared as const array [constVariable] emoslib-4.5.9/tools/gg_gridname.c:49:11: style: Variable 'kret' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/sandbox/emos_tool.c:486:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/sandbox/emos_tool.c:486:9: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/sandbox/emos_tool.c:602:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/sandbox/emos_tool.c:602:9: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/sandbox/emos_tool.c:875:17: style: Local variable 'e' shadows outer variable [shadowVariable] emoslib-4.5.9/sandbox/emos_tool.c:669:18: note: Shadowed declaration emoslib-4.5.9/sandbox/emos_tool.c:875:17: note: Shadow variable emoslib-4.5.9/sandbox/emos_tool.c:976:17: style: Local variable 'e' shadows outer variable [shadowVariable] emoslib-4.5.9/sandbox/emos_tool.c:669:18: note: Shadowed declaration emoslib-4.5.9/sandbox/emos_tool.c:976:17: note: Shadow variable emoslib-4.5.9/sandbox/emos_tool.c:671:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/tools/gg_single.c:50:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] emoslib-4.5.9/tools/lsmReducedGaussian/bitPack.c:8:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] emoslib-4.5.9/tools/gg_single.c:169:23: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:2459:47: style: Condition 'grab(buffer,&p,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/PBGroutines.c:2459:15: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/PBGroutines.c:2459:47: note: Condition 'grab(buffer,&p,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/PBGroutines.c:2477:49: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/PBGroutines.c:2477:15: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/PBGroutines.c:2477:49: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/PBGroutines.c:2483:56: style: Condition 'grab(buffer,&edit_num,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/PBGroutines.c:2483:17: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/PBGroutines.c:2483:56: note: Condition 'grab(buffer,&edit_num,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/PBGroutines.c:2502:54: style: Condition 'grab(buffer,&edit_num,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/PBGroutines.c:2502:15: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/PBGroutines.c:2502:54: note: Condition 'grab(buffer,&edit_num,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/PBGroutines.c:2506:49: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/PBGroutines.c:2506:15: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/PBGroutines.c:2506:49: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/PBGroutines.c:2514:50: style: Condition 'grab(buffer,&flag23,1,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/PBGroutines.c:2514:13: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/PBGroutines.c:2514:50: note: Condition 'grab(buffer,&flag23,1,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/PBGroutines.c:2527:49: style: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false [knownConditionTrueFalse] emoslib-4.5.9/pbio/PBGroutines.c:2527:15: note: Calling function 'grab' returns 0 emoslib-4.5.9/pbio/PBGroutines.c:2527:49: note: Condition 'grab(buffer,size,3,1,&bytes_read)!=0' is always false emoslib-4.5.9/pbio/PBGroutines.c:791:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:820:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:820:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:854:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:888:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:888:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:922:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:922:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:956:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:956:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:990:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:990:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1024:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1024:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1058:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1058:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1092:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1092:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1126:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1126:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1160:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1160:9: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1406:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1406:9: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1430:11: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1529:8: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1529:8: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1654:8: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1694:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1706:20: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1706:20: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1710:9: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1717:20: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1768:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1778:16: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1828:16: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1853:16: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:1896:24: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:2014:16: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:2052:18: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:2380:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:2392:20: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:2392:20: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:2399:20: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] emoslib-4.5.9/pbio/PBGroutines.c:2316:9: error: Common realloc mistake: 'ibuffer2' nulled but not freed upon failure [memleakOnRealloc] emoslib-4.5.9/pbio/PBGroutines.c:1938:3: warning: If memory allocation fails, then there is a possible null pointer dereference: latest [nullPointerOutOfMemory] emoslib-4.5.9/pbio/PBGroutines.c:1929:41: note: Assuming allocation function fails emoslib-4.5.9/pbio/PBGroutines.c:1929:23: note: Assignment 'openFiles.files=(struct gribfile*)malloc(sizeof(struct gribfile))', assigned value is 0 emoslib-4.5.9/pbio/PBGroutines.c:1930:23: note: Assignment 'latest=openFiles.files', assigned value is 0 emoslib-4.5.9/pbio/PBGroutines.c:1938:3: note: Null pointer dereference emoslib-4.5.9/pbio/PBGroutines.c:1940:3: warning: If memory allocation fails, then there is a possible null pointer dereference: latest [nullPointerOutOfMemory] emoslib-4.5.9/pbio/PBGroutines.c:1929:41: note: Assuming allocation function fails emoslib-4.5.9/pbio/PBGroutines.c:1929:23: note: Assignment 'openFiles.files=(struct gribfile*)malloc(sizeof(struct gribfile))', assigned value is 0 emoslib-4.5.9/pbio/PBGroutines.c:1930:23: note: Assignment 'latest=openFiles.files', assigned value is 0 emoslib-4.5.9/pbio/PBGroutines.c:1940:3: note: Null pointer dereference emoslib-4.5.9/pbio/PBGroutines.c:1941:3: warning: If memory allocation fails, then there is a possible null pointer dereference: latest [nullPointerOutOfMemory] emoslib-4.5.9/pbio/PBGroutines.c:1929:41: note: Assuming allocation function fails emoslib-4.5.9/pbio/PBGroutines.c:1929:23: note: Assignment 'openFiles.files=(struct gribfile*)malloc(sizeof(struct gribfile))', assigned value is 0 emoslib-4.5.9/pbio/PBGroutines.c:1930:23: note: Assignment 'latest=openFiles.files', assigned value is 0 emoslib-4.5.9/pbio/PBGroutines.c:1941:3: note: Null pointer dereference emoslib-4.5.9/pbio/PBGroutines.c:1942:3: warning: If memory allocation fails, then there is a possible null pointer dereference: latest [nullPointerOutOfMemory] emoslib-4.5.9/pbio/PBGroutines.c:1929:41: note: Assuming allocation function fails emoslib-4.5.9/pbio/PBGroutines.c:1929:23: note: Assignment 'openFiles.files=(struct gribfile*)malloc(sizeof(struct gribfile))', assigned value is 0 emoslib-4.5.9/pbio/PBGroutines.c:1930:23: note: Assignment 'latest=openFiles.files', assigned value is 0 emoslib-4.5.9/pbio/PBGroutines.c:1942:3: note: Null pointer dereference emoslib-4.5.9/pbio/PBGroutines.c:315:24: style:inconclusive: Function 'gribdata' argument 2 names different: declaration 'number_of_fields' definition 'index'. [funcArgNamesDifferent] emoslib-4.5.9/pbio/PBGroutines.c:38:24: note: Function 'gribdata' argument 2 names different: declaration 'number_of_fields' definition 'index'. emoslib-4.5.9/pbio/PBGroutines.c:315:24: note: Function 'gribdata' argument 2 names different: declaration 'number_of_fields' definition 'index'. emoslib-4.5.9/pbio/PBGroutines.c:1398:13: style: Local variable 'loop' shadows outer variable [shadowVariable] emoslib-4.5.9/pbio/PBGroutines.c:1392:9: note: Shadowed declaration emoslib-4.5.9/pbio/PBGroutines.c:1398:13: note: Shadow variable emoslib-4.5.9/pbio/PBGroutines.c:1521:12: style: Local variable 'loop' shadows outer variable [shadowVariable] emoslib-4.5.9/pbio/PBGroutines.c:1515:9: note: Shadowed declaration emoslib-4.5.9/pbio/PBGroutines.c:1521:12: note: Shadow variable emoslib-4.5.9/pbio/PBGroutines.c:783:12: style: Variable 'file' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/PBGroutines.c:804:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:838:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:872:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:906:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:940:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:974:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1008:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1042:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1076:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1110:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1144:44: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1180:13: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1181:13: style: Parameter 'level' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1182:13: style: Parameter 'date' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1183:13: style: Parameter 'time' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1184:13: style: Parameter 'step' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1185:13: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1195:12: style: Variable 'file' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/PBGroutines.c:1231:13: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1232:13: style: Parameter 'level' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1233:13: style: Parameter 'vdate' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1234:13: style: Parameter 'vtime' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1236:13: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1251:12: style: Variable 'file' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/PBGroutines.c:1372:13: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1373:13: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1394:12: style: Variable 'file' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/PBGroutines.c:1451:13: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1452:13: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1517:12: style: Variable 'file' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/PBGroutines.c:1679:61: style: Parameter 'bufflen' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1680:26: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1755:43: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:1861:12: style: Variable 'file' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/PBGroutines.c:2162:36: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:2166:8: style: Variable 'blankCharacterPointer' can be declared as pointer to const [constVariablePointer] emoslib-4.5.9/pbio/PBGroutines.c:2545:33: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] emoslib-4.5.9/pbio/PBGroutines.c:616:11: style: Variable 'ECclass' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/PBGroutines.c:2446:11: style: Variable 'large' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/PBGroutines.c:2496:15: style: Variable 'total' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/PBGroutines.c:2497:15: style: Variable 'large' is assigned a value that is never used. [unreadVariable] emoslib-4.5.9/pbio/PBGroutines.c:2533:16: style: Variable 'section2' is assigned a value that is never used. [unreadVariable] DONE