2024-04-18 16:55 ftp://ftp.de.debian.org/debian/pool/main/m/mlv/mlv_3.1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=sdl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-4.18.0-513.9.1.el8_9.cloud.0.1.x86_64-x86_64-with-glibc2.28 python: 3.10.2 client-version: 1.3.56 compiler: g++ (GCC) 13.1.1 20230614 (Red Hat 13.1.1-4) cppcheck: head 2.13.0 head-info: 8c78869 (2024-04-18 16:27:02 +0200) count: 269 140 elapsed-time: 1.8 1.2 head-timing-info: old-timing-info: head results: mlv-3.1.0/MLV/audio.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/audio.c:113:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/audio.c:129:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/audio.c:143:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/audio.c:52:12: style: struct member '_MLV_Playlist::list_music' is never used. [unusedStructMember] mlv-3.1.0/MLV/animation.c:127:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/animation.c:196:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/animation.c:249:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAY [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/animation.c:252:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAY_REVERT [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/animation.c:255:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STOP [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/animation.c:286:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STOP [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/animation.c:531:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/animation.c:121:15: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mlv-3.1.0/MLV/animation.c:121:15: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mlv-3.1.0/MLV/animation.c:776:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mlv-3.1.0/MLV/animation.c:781:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mlv-3.1.0/MLV/animation.c:784:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mlv-3.1.0/MLV/animation.c:858:10: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mlv-3.1.0/MLV/animation.c:863:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mlv-3.1.0/MLV/animation.c:866:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] mlv-3.1.0/MLV/animation.c:72:15: style:inconclusive: Function 'MLV_create_animation' argument 1 names different: declaration 'nb_frames' definition 'max_frames'. [funcArgNamesDifferent] mlv-3.1.0/MLV/MLV_animation.h:122:15: note: Function 'MLV_create_animation' argument 1 names different: declaration 'nb_frames' definition 'max_frames'. mlv-3.1.0/MLV/animation.c:72:15: note: Function 'MLV_create_animation' argument 1 names different: declaration 'nb_frames' definition 'max_frames'. mlv-3.1.0/MLV/animation.c:406:55: style:inconclusive: Function 'MLV_play_sound_from_animation_player' argument 2 names different: declaration 'layer' definition 'channel'. [funcArgNamesDifferent] mlv-3.1.0/MLV/MLV_animation.h:428:55: note: Function 'MLV_play_sound_from_animation_player' argument 2 names different: declaration 'layer' definition 'channel'. mlv-3.1.0/MLV/animation.c:406:55: note: Function 'MLV_play_sound_from_animation_player' argument 2 names different: declaration 'layer' definition 'channel'. mlv-3.1.0/MLV/animation.c:795:15: style: Local variable 'image' shadows outer variable [shadowVariable] mlv-3.1.0/MLV/animation.c:743:7: note: Shadowed declaration mlv-3.1.0/MLV/animation.c:795:15: note: Shadow variable mlv-3.1.0/MLV/animation.c:911:7: style: Local variable 'id_page' shadows outer variable [shadowVariable] mlv-3.1.0/MLV/animation.c:713:6: note: Shadowed declaration mlv-3.1.0/MLV/animation.c:911:7: note: Shadow variable mlv-3.1.0/MLV/animation.c:936:14: style: Local variable 'key' shadows outer variable [shadowVariable] mlv-3.1.0/MLV/animation.c:910:12: note: Shadowed declaration mlv-3.1.0/MLV/animation.c:936:14: note: Shadow variable mlv-3.1.0/MLV/animation.c:937:9: style: Local variable 'id_sound' shadows outer variable [shadowVariable] mlv-3.1.0/MLV/animation.c:814:6: note: Shadowed declaration mlv-3.1.0/MLV/animation.c:937:9: note: Shadow variable mlv-3.1.0/MLV/animation.c:345:24: style: Parameter 'animation_player' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/animation.c:357:24: style: Parameter 'animation_player' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/animation.c:371:24: style: Parameter 'animation_player' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/animation.c:387:24: style: Parameter 'animation_player' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/animation.c:415:14: style: Variable 'sound' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/animation.c:443:56: style: Parameter 'layers' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/animation.c:503:22: style: Parameter 'animation_book' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/animation.c:513:50: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/animation.c:1103:7: style: Variable 'id_ptr' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/color.c:2325:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/color.c:4586:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/event.c:303:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/event.c:369:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/event.c:399:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/event.c:420:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/event.c:431:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/event.c:443:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/informations.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/informations.c:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/informations.c:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_RCS_REVISION [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/informations.c:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_REPOSITORY [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/informations.c:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/informations.c:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_URL [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/image.c:74:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HWSURFACE [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/image.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/image.c:253:10: style: Variable 'pixel_src' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/image.c:326:19: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/image.c:360:19: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/image.c:393:45: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/image.c:404:19: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/image.c:116:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] mlv-3.1.0/MLV/image.c:134:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] mlv-3.1.0/MLV/image.c:254:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] mlv-3.1.0/MLV/input_box.c:169:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:175:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:189:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:195:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:322:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:594:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:723:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:756:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ENABLE [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:847:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_USEREVENT [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:873:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_ESCAPE [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box.c:412:41: style: Parameter 'input_box' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/input_box.c:464:16: style: Variable 'message' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/input_box.c:774:15: style: Variable 'src' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/input_box.c:226:53: portability: 'input_box->history->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mlv-3.1.0/MLV/input_box.c:258:39: portability: 'input_box->history->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mlv-3.1.0/MLV/input_box.c:258:73: portability: 'input_box->history->data+m' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mlv-3.1.0/MLV/input_box.c:285:43: portability: 'input_box->history->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mlv-3.1.0/MLV/input_box.c:285:46: portability: 'input_box->history->data+m' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] mlv-3.1.0/MLV/input_box_wait.c:206:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/input_box_wait.c:233:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/key.c:62:28: style: Parameter 'text1' can be declared as pointer to const. However it seems that 'compare_strings' is a callback function, if 'text1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mlv-3.1.0/MLV/key.c:73:31: note: You might need to cast the function pointer here mlv-3.1.0/MLV/key.c:62:28: note: Parameter 'text1' can be declared as pointer to const mlv-3.1.0/MLV/key.c:62:41: style: Parameter 'text2' can be declared as pointer to const. However it seems that 'compare_strings' is a callback function, if 'text2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mlv-3.1.0/MLV/key.c:73:31: note: You might need to cast the function pointer here mlv-3.1.0/MLV/key.c:62:41: note: Parameter 'text2' can be declared as pointer to const mlv-3.1.0/MLV/key.c:81:28: style: Parameter 'int1' can be declared as pointer to const. However it seems that 'compare_integers' is a callback function, if 'int1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mlv-3.1.0/MLV/key.c:91:29: note: You might need to cast the function pointer here mlv-3.1.0/MLV/key.c:81:28: note: Parameter 'int1' can be declared as pointer to const mlv-3.1.0/MLV/key.c:81:39: style: Parameter 'int2' can be declared as pointer to const. However it seems that 'compare_integers' is a callback function, if 'int2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] mlv-3.1.0/MLV/key.c:91:29: note: You might need to cast the function pointer here mlv-3.1.0/MLV/key.c:81:39: note: Parameter 'int2' can be declared as pointer to const mlv-3.1.0/MLV/key.c:95:40: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/list.c:53:48: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/keyboard.c:911:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/keyboard.c:1384:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/memory_debug.c:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/memory_debug.c:220:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/memory_debug.c:480:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/memory_debug.c:486:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/memory_debug.c:492:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/memory_debug.c:175:38: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:178:32: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:181:33: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:184:39: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:187:33: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:187:49: style: Parameter 'vx' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:187:61: style: Parameter 'vy' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:190:39: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:190:55: style: Parameter 'vx' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:190:67: style: Parameter 'vy' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:193:35: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:196:29: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:199:30: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:202:31: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:205:32: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:208:35: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:208:50: style: Parameter 'rectangle_src' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:208:78: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:208:93: style: Parameter 'rectangle_dest' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:380:32: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:399:44: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:405:46: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:441:29: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:444:27: style: Parameter 'semaphore' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:448:27: style: Parameter 'semaphore' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:465:31: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:478:56: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:484:71: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:490:52: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:503:26: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:503:38: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:521:34: style: Parameter 'desired' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:521:58: style: Parameter 'obtained' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:532:34: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:539:28: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:539:57: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:539:65: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:562:33: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/memory_debug.c:570:46: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/keyboard.c:1402:9: style: Condition 'nb>0' is always false [knownConditionTrueFalse] mlv-3.1.0/MLV/keyboard.c:1392:11: note: Assignment 'nb=0', assigned value is 0 mlv-3.1.0/MLV/keyboard.c:1394:18: note: Assuming condition is false mlv-3.1.0/MLV/keyboard.c:1402:9: note: Condition 'nb>0' is always false mlv-3.1.0/MLV/keyboard.c:1499:9: style: Condition 'nb>0' is always false [knownConditionTrueFalse] mlv-3.1.0/MLV/keyboard.c:1497:7: note: Assignment 'nb=0', assigned value is 0 mlv-3.1.0/MLV/keyboard.c:1499:9: note: Condition 'nb>0' is always false mlv-3.1.0/MLV/keyboard.c:1497:5: style: Variable 'nb' is reassigned a value before the old one has been used. [redundantAssignment] mlv-3.1.0/MLV/keyboard.c:1490:6: note: nb is assigned mlv-3.1.0/MLV/keyboard.c:1497:5: note: nb is overwritten mlv-3.1.0/MLV/keyboard.c:1595:9: style: Variable 'keyboard_states' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/keyboard.c:1586:8: style: Variable 'text' is assigned a value that is never used. [unreadVariable] mlv-3.1.0/MLV/keyboard.c:1587:6: style: Variable 'nb' is assigned a value that is never used. [unreadVariable] mlv-3.1.0/MLV/mouse.c:118:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/mouse.c:133:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/path.c:100:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/path.c:104:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/path.c:108:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:133:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:145:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:149:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:164:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:174:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:183:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:187:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:195:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/playlist.c:203:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/shapes.c:88:6: style: Variable 'coordonne_x' can be declared as const array [constVariable] mlv-3.1.0/MLV/shapes.c:89:6: style: Variable 'coordonne_y' can be declared as const array [constVariable] mlv-3.1.0/MLV/shapes.c:113:6: style: Variable 'coordonne_x' can be declared as const array [constVariable] mlv-3.1.0/MLV/shapes.c:114:6: style: Variable 'coordonne_y' can be declared as const array [constVariable] mlv-3.1.0/MLV/shapes.c:155:19: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/shapes.c:250:6: style: Variable 'coordonne_x' can be declared as const array [constVariable] mlv-3.1.0/MLV/shapes.c:251:6: style: Variable 'coordonne_y' can be declared as const array [constVariable] mlv-3.1.0/MLV/shapes.c:271:6: style: Variable 'coordonne_x' can be declared as const array [constVariable] mlv-3.1.0/MLV/shapes.c:272:6: style: Variable 'coordonne_y' can be declared as const array [constVariable] mlv-3.1.0/MLV/test_list.c:32:7: style: Variable 'a' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/test_list.c:124:13: style: Variable 'l' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/test_random.c:47:27: style: Parameter 'argv' can be declared as const array [constParameter] mlv-3.1.0/MLV/time.c:69:28: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] mlv-3.1.0/MLV/time.c:69:17: style: Variable 'timeinfo' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/text.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:116:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:219:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:258:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:360:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:395:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCCOLORKEY [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:430:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:485:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:543:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:663:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCCOLORKEY [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:737:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/text.c:830:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/tree_map.c:96:15: style: Variable 'founded_key_data' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/text.c:286:9: style: Variable 'old' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/text.c:328:8: style: Variable 'old' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/MLV/text.c:819:12: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/tree_set.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/tree_set.c:94:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/turtle.c:168:42: style: Parameter 'turtle' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/turtle.c:172:42: style: Parameter 'turtle' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/turtle.c:176:44: style: Parameter 'turtle' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/turtle.c:196:40: style: Parameter 'turtle' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/turtle.c:220:44: style: Parameter 'turtle' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/tree_set.c:61:24: warning: Either the condition 'node' is redundant or there is possible null pointer dereference: node. [nullPointerRedundantCheck] mlv-3.1.0/MLV/tree_set.c:58:6: note: Assuming that condition 'node' is not redundant mlv-3.1.0/MLV/tree_set.c:61:24: note: Null pointer dereference mlv-3.1.0/MLV/tree_set.c:29:43: style: Parameter 'tree_set' can be declared as pointer to const [constParameterPointer] mlv-3.1.0/MLV/tree_set.c:407:9: warning: Uninitialized variables: new_root.father, new_root.left_son, new_root.right_son, new_root.data, new_root.data_destroying_function, new_root.sorting_function, new_root.height [uninitvar] mlv-3.1.0/MLV/tree_set.c:400:9: note: Assuming condition is false mlv-3.1.0/MLV/tree_set.c:407:9: note: Uninitialized variables: new_root.father, new_root.left_son, new_root.right_son, new_root.data, new_root.data_destroying_function, new_root.sorting_function, new_root.height mlv-3.1.0/MLV/xml.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/xml.c:104:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/xml.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/xml.c:145:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/xml.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/xml.c:239:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/xml.c:287:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/xml.c:355:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/xml.c:375:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:71:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_QUIT [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:136:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HWSURFACE [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:184:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:330:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATA_PATH [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:403:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:443:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:473:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/MLV/window.c:162:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mlv-3.1.0/MLV/window.c:162:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] mlv-3.1.0/MLV/window.c:372:43: style:inconclusive: Function 'MLV_change_window_size' argument 1 names different: declaration 'width' definition 'with'. [funcArgNamesDifferent] mlv-3.1.0/MLV/MLV_window.h:200:43: note: Function 'MLV_change_window_size' argument 1 names different: declaration 'width' definition 'with'. mlv-3.1.0/MLV/window.c:372:43: note: Function 'MLV_change_window_size' argument 1 names different: declaration 'width' definition 'with'. mlv-3.1.0/MLV/xml.c:194:29: style: Condition '*text='\0'' is always false [knownConditionTrueFalse] mlv-3.1.0/MLV/xml.c:242:29: style: Condition '*text='\0'' is always false [knownConditionTrueFalse] mlv-3.1.0/MLV/xml.c:290:29: style: Condition '*text='\0'' is always false [knownConditionTrueFalse] mlv-3.1.0/examples/advanced/01_texts_and_boxes.c:86:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_GREEN [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/advanced/02_font.c:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_GREEN [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/advanced/04_sound.c:77:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/advanced/05_playlist.c:22:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_MAGENTA [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/advanced/07_transparency.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_GREEN [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/advanced/08_zone_click.c:55:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_NONE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/advanced/08_zone_click.c:145:32: error: Uninitialized variable: touche [uninitvar] mlv-3.1.0/examples/advanced/09_animation.c:32:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/advanced/10_read_xml_file.c:148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/advanced/11_animation_book.c:61:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEYBOARD_NONE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/01_hello_world.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_MAGENTA [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/02_shapes.c:201:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_PURPLE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/03_random.c:49:26: style: Parameter 'argv' can be declared as const array [constParameter] mlv-3.1.0/examples/beginner/04_texts_and_boxes.c:127:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_MAGENTA [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/05_mouse.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_GREEN [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/06_keyboard.c:66:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_GREEN [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/07_input_box.c:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_GREEN [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/08_mouse_keyboard_input_box_timer.c:21:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/08_mouse_keyboard_input_box_timer.c:64:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEY [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/10_library_informations.c:87:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEYBOARD_NONE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/09_colors.c:1550:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/beginner/11_turtle.c:35:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_GREEN [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/01_keyboard_events.c:123:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/01_keyboard_events.c:203:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEY [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/02_mouse_events.c:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/02_mouse_events.c:179:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_MOUSE_MOTION [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/03_input_box_events.c:119:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/03_input_box_events.c:229:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_INPUT_BOX [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/04_events.c:128:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/04_events.c:218:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEYBOARD_NONE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/04_events.c:225:36: style: Variable 'input_box_1' can be declared as pointer to const [constVariablePointer] mlv-3.1.0/examples/medium/04_events.c:226:18: style: Variable 'event' is assigned a value that is never used. [unreadVariable] mlv-3.1.0/examples/medium/05_exit.c:46:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/07_time.c:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/06_colors.c:166:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_ALPHA_OPAQUE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/06_colors.c:193:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_ALPHA_OPAQUE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/06_colors.c:212:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/06_colors.c:281:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_NONE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/08_full_screen.c:55:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_YELLOW [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/06_colors.c:236:13: style: Local variable 'color' shadows outer variable [shadowVariable] mlv-3.1.0/examples/medium/06_colors.c:211:8: note: Shadowed declaration mlv-3.1.0/examples/medium/06_colors.c:236:13: note: Shadow variable mlv-3.1.0/examples/medium/06_colors.c:281:18: style: Variable 'event' is assigned a value that is never used. [unreadVariable] mlv-3.1.0/examples/medium/09_keyboard_accents.c:41:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEYBOARD_NONE [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/10_mouse_or_keyboard_access.c:72:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/11_keys_codes.c:15:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/11_keys_codes.c:62:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] mlv-3.1.0/examples/medium/12_desktop_size.c:22:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_GREEN [valueFlowBailoutIncompleteVar] diff: head mlv-3.1.0/MLV/animation.c:196:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/animation.c:249:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAY [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/animation.c:252:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PLAY_REVERT [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/animation.c:255:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STOP [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/animation.c:286:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STOP [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/animation.c:531:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/audio.c:113:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/audio.c:129:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/audio.c:143:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIX_MAX_VOLUME [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/color.c:4586:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/event.c:369:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/event.c:399:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/event.c:420:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/event.c:431:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/event.c:443:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/image.c:84:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/informations.c:29:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/informations.c:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_RCS_REVISION [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/informations.c:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_REPOSITORY [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/informations.c:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/informations.c:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_URL [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:175:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:189:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:195:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:322:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:594:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:723:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:756:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_ENABLE [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:847:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_USEREVENT [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box.c:873:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDLK_ESCAPE [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/input_box_wait.c:233:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/keyboard.c:1384:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/memory_debug.c:175:38: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:178:32: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:181:33: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:184:39: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:187:33: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:187:49: style: Parameter 'vx' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:187:61: style: Parameter 'vy' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:190:39: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:190:55: style: Parameter 'vx' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:190:67: style: Parameter 'vy' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:193:35: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:196:29: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:199:30: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:202:31: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:205:32: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:208:35: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:208:50: style: Parameter 'rectangle_src' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:208:78: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:208:93: style: Parameter 'rectangle_dest' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:220:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/memory_debug.c:380:32: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:399:44: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:405:46: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:441:29: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:444:27: style: Parameter 'semaphore' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:448:27: style: Parameter 'semaphore' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:480:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/memory_debug.c:486:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/memory_debug.c:492:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/memory_debug.c:503:26: style: Parameter 'dst' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:503:38: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:521:34: style: Parameter 'desired' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:521:58: style: Parameter 'obtained' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:532:34: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:539:28: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:539:57: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:539:65: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:562:33: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/memory_debug.c:570:46: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] head mlv-3.1.0/MLV/mouse.c:133:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/path.c:104:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/path.c:108:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:133:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:145:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:149:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:154:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:164:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:174:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:183:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:187:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:195:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:199:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/playlist.c:203:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/test_random.c:47:27: style: Parameter 'argv' can be declared as const array [constParameter] head mlv-3.1.0/MLV/text.c:116:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:219:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:258:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:360:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:395:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCCOLORKEY [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:430:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:485:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:543:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:663:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_SRCCOLORKEY [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:737:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/text.c:830:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/tree_set.c:94:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:136:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_HWSURFACE [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:184:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:330:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATA_PATH [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:403:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:443:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:473:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/window.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/xml.c:104:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/xml.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/xml.c:145:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xmlChildrenNode [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/xml.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/xml.c:239:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/xml.c:287:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/xml.c:355:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/MLV/xml.c:375:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/beginner/03_random.c:49:26: style: Parameter 'argv' can be declared as const array [constParameter] head mlv-3.1.0/examples/beginner/08_mouse_keyboard_input_box_timer.c:64:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEY [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/medium/01_keyboard_events.c:203:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEY [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/medium/02_mouse_events.c:179:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_MOUSE_MOTION [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/medium/03_input_box_events.c:229:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_INPUT_BOX [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/medium/04_events.c:218:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_KEYBOARD_NONE [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/medium/06_colors.c:193:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_ALPHA_OPAQUE [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/medium/06_colors.c:212:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_COLOR_BLACK [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/medium/06_colors.c:281:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLV_NONE [valueFlowBailoutIncompleteVar] head mlv-3.1.0/examples/medium/11_keys_codes.c:62:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DONE