Welcome to the CHICKEN Scheme pasting service
cppcheck on runtime.c added by mario-goulart on Mon Aug 11 22:53:54 2014
$ cppcheck --enable=all runtime.c Checking runtime.c... [runtime.c:7959]: (error) Possible null pointer dereference: tmt - otherwise it is redundant to check if tmt is null at line 7956 [runtime.c:7960]: (error) Possible null pointer dereference: tmt - otherwise it is redundant to check if tmt is null at line 7956 [runtime.c:7961]: (error) Possible null pointer dereference: tmt - otherwise it is redundant to check if tmt is null at line 7956 [runtime.c:7962]: (error) Possible null pointer dereference: tmt - otherwise it is redundant to check if tmt is null at line 7956 [chicken.h:2083]: (warning) Casting between integer* and double* which have an incompatible binary data representation [runtime.c:2547]: (warning) Casting between integer* and double* which have an incompatible binary data representation [runtime.c:8419]: (warning) Casting between integer* and float* which have an incompatible binary data representation [runtime.c:8420]: (warning) Casting between integer* and double* which have an incompatible binary data representation [runtime.c:8494]: (warning) Casting between integer* and float* which have an incompatible binary data representation [runtime.c:8501]: (warning) Casting between integer* and double* which have an incompatible binary data representation [runtime.c:2665]: (style) The scope of the variable 'mssize' can be reduced [runtime.c:2665]: (style) The scope of the variable 'newmssize' can be reduced [runtime.c:2665]: (style) The scope of the variable 'bytes' can be reduced [runtime.c:3081]: (style) The scope of the variable 'item' can be reduced [runtime.c:3675]: (style) The scope of the variable 'len' can be reduced [runtime.c:3699]: (style) The scope of the variable 'len' can be reduced [runtime.c:3752]: (style) The scope of the variable 'i' can be reduced [runtime.c:3830]: (style) The scope of the variable 'i' can be reduced [runtime.c:3948]: (style) The scope of the variable 'n' can be reduced [runtime.c:3948]: (style) The scope of the variable 'i' can be reduced [runtime.c:4953]: (style) The scope of the variable 'j' can be reduced [runtime.c:4973]: (style) The scope of the variable 'j' can be reduced [runtime.c:4993]: (style) The scope of the variable 'j' can be reduced [runtime.c:5016]: (style) The scope of the variable 'j' can be reduced [runtime.c:5100]: (style) The scope of the variable 'r' can be reduced [runtime.c:5149]: (style) The scope of the variable 'j' can be reduced [runtime.c:5180]: (style) The scope of the variable 'f1' can be reduced [runtime.c:5180]: (style) The scope of the variable 'f2' can be reduced [runtime.c:5194]: (style) The scope of the variable 'f1' can be reduced [runtime.c:5194]: (style) The scope of the variable 'f2' can be reduced [runtime.c:5208]: (style) The scope of the variable 'f1' can be reduced [runtime.c:5208]: (style) The scope of the variable 'f2' can be reduced [runtime.c:5222]: (style) The scope of the variable 'f1' can be reduced [runtime.c:5241]: (style) The scope of the variable 'f' can be reduced [runtime.c:5829]: (style) The scope of the variable 'm' can be reduced [runtime.c:5846]: (style) The scope of the variable 'm' can be reduced [runtime.c:5863]: (style) The scope of the variable 'm' can be reduced [runtime.c:5880]: (style) The scope of the variable 'm' can be reduced [runtime.c:6314]: (style) The scope of the variable 'iresult' can be reduced [runtime.c:6392]: (style) The scope of the variable 'iresult' can be reduced [runtime.c:6487]: (style) The scope of the variable 'iresult' can be reduced [runtime.c:7286]: (style) The scope of the variable 'frac' can be reduced [runtime.c:7289]: (style) The scope of the variable 'i' can be reduced [runtime.c:7353]: (style) The scope of the variable 'result' can be reduced [runtime.c:7566]: (style) The scope of the variable 'fn' can be reduced [runtime.c:7647]: (style) The scope of the variable 'f' can be reduced [runtime.c:8529]: (style) The scope of the variable 'k' can be reduced [runtime.c:5262]: (style) Suspicious condition (assignment+comparison), it can be clarified with parentheses [runtime.c:722]: (style) Checking if unsigned variable 'C_heap_growth' is less than zero. [runtime.c:724]: (style) Checking if unsigned variable 'C_heap_shrinkage' is less than zero. [runtime.c:726]: (style) Checking if unsigned variable 'C_maximal_heap_size' is less than zero. [runtime.c:620]: (style) Unused variable: i [runtime.c:1218]: (style) Unused variable: x [runtime.c:1996]: (style) Unused variable: np [runtime.c:1997]: (style) Variable 'status' is assigned a value that is never used [runtime.c:3229]: (style) Unused variable: j [runtime.c:3230]: (style) Unused variable: count [runtime.c:3231]: (style) Unused variable: item [runtime.c:3233]: (style) Unused variable: tmp [runtime.c:3233]: (style) Unused variable: start [runtime.c:3416]: (style) Unused variable: item [runtime.c:3420]: (style) Unused variable: wep [runtime.c:3498]: (style) Unused variable: obj2 [runtime.c:3498]: (style) Unused variable: loc2 [runtime.c:7287]: (style) Unused variable: ga [runtime.c:7287]: (style) Unused variable: gb [runtime.c:7563]: (style) Unused variable: ln [runtime.c:8065]: (style) Unused variable: ptr [runtime.c:8066]: (style) Unused variable: n [runtime.c:8066]: (style) Unused variable: i [runtime.c:8098]: (style) Unused variable: n [runtime.c:8398]: (style) Unused variable: val [runtime.c:8428]: (style) Unused variable: val [runtime.c:8795]: (style) Unused variable: dptr [runtime.c:6649]: (error) Uninitialized variable: iresult [runtime.c:7390]: (error) Uninitialized variable: f2 Checking runtime.c: BIG_ENDIAN;BYTE_ORDER... Checking runtime.c: BITWISE_UINT_ONLY... Checking runtime.c: BYTE_ORDER;LITTLE_ENDIAN... Checking runtime.c: C_BUILDING_LIBCHICKEN;PIC;__WATCOMC__... Checking runtime.c: C_COLLECT_ALL_SYMBOLS... Checking runtime.c: C_DOUBLE_IS_32_BITS... Checking runtime.c: C_ENABLE_PTABLES... Checking runtime.c: C_ENABLE_TLS... Checking runtime.c: C_ENABLE_TLS;__GNUC__... Checking runtime.c: C_GC_HOOKS... Checking runtime.c: C_GUI... [runtime.c]: (information) Interrupted checking because of too many #ifdef configurations. Checking usage of global functions.. [runtime.c:4633]: (style) The function 'C_a_i_smart_mpointer' is never used [runtime.c:2336]: (style) The function 'C_stack_overflow_with_msg' is never used (information) Cppcheck cannot find all the include files (use --check-config for details)