2025-11-21 13:10 ftp://ftp.de.debian.org/debian/pool/main/g/glfw3/glfw3_3.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=opengl --library=microsoft_sal --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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 391 386 elapsed-time: 6.1 6.6 head-timing-info: old-timing-info: head results: glfw-3.4/deps/tinycthread.c:69:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:189:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLAT [valueFlowBailoutIncompleteVar] glfw-3.4/deps/tinycthread.c:309:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:198:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/deps/tinycthread.c:475:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:223:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:242:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:278:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_MOUSE_BUTTON_LEFT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:315:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MODELVIEW [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:504:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POLYGON [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:555:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CULL_FACE [valueFlowBailoutIncompleteVar] glfw-3.4/examples/boing.c:647:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glfwGetProcAddress [valueFlowBailoutIncompleteVar] glfw-3.4/deps/tinycthread.c:494:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] glfw-3.4/deps/tinycthread.c:499:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] glfw-3.4/examples/gears.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FLAT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/gears.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/gears.c:217:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/examples/gears.c:258:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] glfw-3.4/examples/gears.c:276:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CULL_FACE [valueFlowBailoutIncompleteVar] glfw-3.4/examples/gears.c:312:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/deps/getopt.c:89:14: warning: Either the condition 'optcursor==NULL' is redundant or there is possible null pointer dereference: optcursor. [nullPointerRedundantCheck] glfw-3.4/deps/getopt.c:144:17: note: Assuming that condition 'optcursor==NULL' is not redundant glfw-3.4/deps/getopt.c:99:7: note: Assuming condition is true glfw-3.4/deps/getopt.c:89:14: note: Null pointer dereference glfw-3.4/examples/boing.c:386:25: style:inconclusive: Function 'BounceBall' argument 1 names different: declaration 'dt' definition 'delta_t'. [funcArgNamesDifferent] glfw-3.4/examples/boing.c:59:25: note: Function 'BounceBall' argument 1 names different: declaration 'dt' definition 'delta_t'. glfw-3.4/examples/boing.c:386:25: note: Function 'BounceBall' argument 1 names different: declaration 'dt' definition 'delta_t'. glfw-3.4/examples/boing.c:276:41: style: Parameter 'window' can be declared as pointer to const. However it seems that 'mouse_button_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/examples/boing.c:643:39: note: You might need to cast the function pointer here glfw-3.4/examples/boing.c:276:41: note: Parameter 'window' can be declared as pointer to const glfw-3.4/examples/boing.c:292:44: style: Parameter 'window' can be declared as pointer to const. However it seems that 'cursor_position_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/examples/boing.c:644:37: note: You might need to cast the function pointer here glfw-3.4/examples/boing.c:292:44: note: Parameter 'window' can be declared as pointer to const glfw-3.4/examples/offscreen.c:72:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/examples/offscreen.c:92:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:136:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_STATUS [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:160:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_SHADER [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:296:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:351:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ELEMENT_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:378:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ARRAY_BUFFER [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:391:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_TRUE [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:398:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:421:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/examples/offscreen.c:155:27: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] glfw-3.4/examples/offscreen.c:149:20: note: Assuming allocation function fails glfw-3.4/examples/offscreen.c:149:20: note: Assignment 'buffer=calloc(4,width*height)', assigned value is 0 glfw-3.4/examples/offscreen.c:155:27: note: Null pointer addition glfw-3.4/examples/offscreen.c:41:11: style: struct member 'Anonymous0::x' is never used. [unusedStructMember] glfw-3.4/examples/offscreen.c:41:14: style: struct member 'Anonymous0::y' is never used. [unusedStructMember] glfw-3.4/examples/offscreen.c:42:11: style: struct member 'Anonymous0::r' is never used. [unusedStructMember] glfw-3.4/examples/offscreen.c:42:14: style: struct member 'Anonymous0::g' is never used. [unusedStructMember] glfw-3.4/examples/offscreen.c:42:17: style: struct member 'Anonymous0::b' is never used. [unusedStructMember] glfw-3.4/examples/sharing.c:67:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/examples/sharing.c:72:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_KEY_ESCAPE [valueFlowBailoutIncompleteVar] glfw-3.4/examples/sharing.c:87:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/examples/gears.c:85:3: style: Variable 'da' is assigned an expression that holds the same value. [redundantAssignment] glfw-3.4/examples/gears.c:64:6: note: da is assigned '2.f*(float)3.14159265358979323846/teeth/4.f' here. glfw-3.4/examples/gears.c:85:3: note: Variable 'da' is assigned an expression that holds the same value. glfw-3.4/examples/gears.c:113:3: style: Variable 'da' is assigned an expression that holds the same value. [redundantAssignment] glfw-3.4/examples/gears.c:85:6: note: da is assigned '2.f*(float)3.14159265358979323846/teeth/4.f' here. glfw-3.4/examples/gears.c:113:3: note: Variable 'da' is assigned an expression that holds the same value. glfw-3.4/examples/gears.c:57:11: style: Local variable 'angle' shadows outer variable [shadowVariable] glfw-3.4/examples/gears.c:172:16: note: Shadowed declaration glfw-3.4/examples/gears.c:57:11: note: Shadow variable glfw-3.4/examples/gears.c:248:27: style: Parameter 'window' can be declared as pointer to const. However it seems that 'reshape' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/examples/gears.c:328:44: note: You might need to cast the function pointer here glfw-3.4/examples/gears.c:248:27: note: Parameter 'window' can be declared as pointer to const glfw-3.4/examples/gears.c:271:18: style: Variable 'red' can be declared as const array [constVariable] glfw-3.4/examples/gears.c:272:18: style: Variable 'green' can be declared as const array [constVariable] glfw-3.4/examples/gears.c:273:18: style: Variable 'blue' can be declared as const array [constVariable] glfw-3.4/examples/particles.c:417:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_MODELVIEW_MATRIX [valueFlowBailoutIncompleteVar] glfw-3.4/examples/particles.c:616:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] glfw-3.4/examples/particles.c:711:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] glfw-3.4/examples/particles.c:778:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHT1 [valueFlowBailoutIncompleteVar] glfw-3.4/examples/particles.c:805:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/particles.c:878:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/examples/particles.c:914:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] glfw-3.4/examples/particles.c:952:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/examples/splitview.c:70:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] glfw-3.4/examples/splitview.c:163:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/splitview.c:232:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/splitview.c:457:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_MOUSE_BUTTON_LEFT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/splitview.c:477:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/examples/splitview.c:493:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/examples/heightmap.c:156:28: style: Variable 'fragment_shader' is assigned a value that is never used. [unreadVariable] glfw-3.4/examples/triangle-opengl.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/examples/triangle-opengl.c:79:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/examples/triangle-opengl.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/examples/triangle-opengles.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/examples/triangle-opengles.c:79:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/examples/triangle-opengles.c:91:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/examples/splitview.c:385:44: style: Parameter 'window' can be declared as pointer to const. However it seems that 'framebufferSizeFun' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/examples/splitview.c:510:44: note: You might need to cast the function pointer here glfw-3.4/examples/splitview.c:385:44: note: Parameter 'window' can be declared as pointer to const glfw-3.4/examples/splitview.c:455:40: style: Parameter 'window' can be declared as pointer to const. However it seems that 'mouseButtonFun' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/examples/splitview.c:513:40: note: You might need to cast the function pointer here glfw-3.4/examples/splitview.c:455:40: note: Parameter 'window' can be declared as pointer to const glfw-3.4/examples/windows.c:68:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_POSITION_X [valueFlowBailoutIncompleteVar] glfw-3.4/examples/wave.c:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/wave.c:178:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SMOOTH [valueFlowBailoutIncompleteVar] glfw-3.4/examples/wave.c:268:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/examples/wave.c:278:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/examples/wave.c:321:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_MOUSE_BUTTON_LEFT [valueFlowBailoutIncompleteVar] glfw-3.4/examples/wave.c:340:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CURSOR [valueFlowBailoutIncompleteVar] glfw-3.4/examples/wave.c:379:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] glfw-3.4/examples/wave.c:417:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glfwGetProcAddress [valueFlowBailoutIncompleteVar] glfw-3.4/examples/particles.c:404:15: style: Variable 'pptr' can be declared as pointer to const [constVariablePointer] glfw-3.4/examples/particles.c:865:41: style: Parameter 'window' can be declared as pointer to const. However it seems that 'resize_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/examples/particles.c:1002:44: note: You might need to cast the function pointer here glfw-3.4/examples/particles.c:865:41: note: Parameter 'window' can be declared as pointer to const glfw-3.4/examples/particles.c:504:26: error: Uninitialized variable: rgba [uninitvar] glfw-3.4/examples/wave.c:73:15: style: Local variable 'p' shadows outer variable [shadowVariable] glfw-3.4/examples/wave.c:111:8: note: Shadowed declaration glfw-3.4/examples/wave.c:73:15: note: Shadow variable glfw-3.4/examples/wave.c:355:34: style: Parameter 'window' can be declared as pointer to const. However it seems that 'scroll_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/examples/wave.c:414:35: note: You might need to cast the function pointer here glfw-3.4/examples/wave.c:355:34: note: Parameter 'window' can be declared as pointer to const glfw-3.4/src/init.c:255:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/src/context.c:763:5: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] glfw-3.4/src/init.c:189:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] glfw-3.4/src/input.c:336:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/src/input.c:376:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/src/input.c:811:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/src/init.c:274:27: style:inconclusive: Function '_glfw_realloc' argument 1 names different: declaration 'pointer' definition 'block'. [funcArgNamesDifferent] glfw-3.4/src/internal.h:1007:27: note: Function '_glfw_realloc' argument 1 names different: declaration 'pointer' definition 'block'. glfw-3.4/src/init.c:274:27: note: Function '_glfw_realloc' argument 1 names different: declaration 'pointer' definition 'block'. glfw-3.4/src/init.c:296:23: style:inconclusive: Function '_glfw_free' argument 1 names different: declaration 'pointer' definition 'block'. [funcArgNamesDifferent] glfw-3.4/src/internal.h:1008:23: note: Function '_glfw_free' argument 1 names different: declaration 'pointer' definition 'block'. glfw-3.4/src/init.c:296:23: note: Function '_glfw_free' argument 1 names different: declaration 'pointer' definition 'block'. glfw-3.4/src/init.c:73:49: style: Parameter 'user' can be declared as pointer to const. However it seems that 'defaultAllocate' is a callback function, if 'user' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/src/init.c:397:38: note: You might need to cast the function pointer here glfw-3.4/src/init.c:73:49: note: Parameter 'user' can be declared as pointer to const glfw-3.4/src/context.c:616:49: style:inconclusive: Function 'glfwMakeContextCurrent' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:6109:49: note: Function 'glfwMakeContextCurrent' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/context.c:616:49: note: Function 'glfwMakeContextCurrent' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/context.c:648:42: style:inconclusive: Function 'glfwSwapBuffers' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:6164:42: note: Function 'glfwSwapBuffers' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/context.c:648:42: note: Function 'glfwSwapBuffers' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/egl_context.c:322:5: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] glfw-3.4/src/egl_context.c:884:50: style:inconclusive: Function 'glfwGetEGLContext' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3native.h:571:50: note: Function 'glfwGetEGLContext' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/egl_context.c:884:50: note: Function 'glfwGetEGLContext' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/egl_context.c:898:50: style:inconclusive: Function 'glfwGetEGLSurface' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3native.h:588:50: note: Function 'glfwGetEGLSurface' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/egl_context.c:898:50: note: Function 'glfwGetEGLSurface' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/monitor.c:467:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/src/monitor.c:532:20: style: Checking if unsigned expression 'ramp->size' is less than zero. [unsignedLessThanZero] glfw-3.4/src/null_joystick.c:43:47: style: Parameter 'js' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_joystick.c:53:39: style: Parameter 'guid' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/monitor.c:273:47: style:inconclusive: Function '_glfwCompareVideoModes' argument 1 names different: declaration 'first' definition 'fm'. [funcArgNamesDifferent] glfw-3.4/src/internal.h:961:47: note: Function '_glfwCompareVideoModes' argument 1 names different: declaration 'first' definition 'fm'. glfw-3.4/src/monitor.c:273:47: note: Function '_glfwCompareVideoModes' argument 1 names different: declaration 'first' definition 'fm'. glfw-3.4/src/monitor.c:273:70: style:inconclusive: Function '_glfwCompareVideoModes' argument 2 names different: declaration 'second' definition 'sm'. [funcArgNamesDifferent] glfw-3.4/src/internal.h:961:73: note: Function '_glfwCompareVideoModes' argument 2 names different: declaration 'second' definition 'sm'. glfw-3.4/src/monitor.c:273:70: note: Function '_glfwCompareVideoModes' argument 2 names different: declaration 'second' definition 'sm'. glfw-3.4/src/monitor.c:326:45: style:inconclusive: Function 'glfwGetMonitorPos' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2626:45: note: Function 'glfwGetMonitorPos' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:326:45: note: Function 'glfwGetMonitorPos' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:341:50: style:inconclusive: Function 'glfwGetMonitorWorkarea' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2657:50: note: Function 'glfwGetMonitorWorkarea' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:341:50: note: Function 'glfwGetMonitorWorkarea' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:362:54: style:inconclusive: Function 'glfwGetMonitorPhysicalSize' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2692:54: note: Function 'glfwGetMonitorPhysicalSize' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:362:54: note: Function 'glfwGetMonitorPhysicalSize' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:380:54: style:inconclusive: Function 'glfwGetMonitorContentScale' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2727:54: note: Function 'glfwGetMonitorContentScale' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:380:54: note: Function 'glfwGetMonitorContentScale' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:395:53: style:inconclusive: Function 'glfwGetMonitorName' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2753:53: note: Function 'glfwGetMonitorName' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:395:53: note: Function 'glfwGetMonitorName' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:404:53: style:inconclusive: Function 'glfwSetMonitorUserPointer' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2779:53: note: Function 'glfwSetMonitorUserPointer' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:404:53: note: Function 'glfwSetMonitorUserPointer' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:413:54: style:inconclusive: Function 'glfwGetMonitorUserPointer' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2803:54: note: Function 'glfwGetMonitorUserPointer' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:413:54: note: Function 'glfwGetMonitorUserPointer' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:429:59: style:inconclusive: Function 'glfwGetVideoModes' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2867:59: note: Function 'glfwGetVideoModes' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:429:59: note: Function 'glfwGetVideoModes' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:446:58: style:inconclusive: Function 'glfwGetVideoMode' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2895:58: note: Function 'glfwGetVideoMode' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:446:58: note: Function 'glfwGetVideoMode' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:459:40: style:inconclusive: Function 'glfwSetGamma' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2928:40: note: Function 'glfwSetGamma' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:459:40: note: Function 'glfwSetGamma' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:506:60: style:inconclusive: Function 'glfwGetGammaRamp' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2958:60: note: Function 'glfwGetGammaRamp' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:506:60: note: Function 'glfwGetGammaRamp' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:520:44: style:inconclusive: Function 'glfwSetGammaRamp' argument 1 names different: declaration 'monitor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2999:44: note: Function 'glfwSetGammaRamp' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:520:44: note: Function 'glfwSetGammaRamp' argument 1 names different: declaration 'monitor' definition 'handle'. glfw-3.4/src/monitor.c:364:19: style: Variable 'monitor' can be declared as pointer to const [constVariablePointer] glfw-3.4/src/monitor.c:397:19: style: Variable 'monitor' can be declared as pointer to const [constVariablePointer] glfw-3.4/src/monitor.c:415:19: style: Variable 'monitor' can be declared as pointer to const [constVariablePointer] glfw-3.4/src/input.c:404:66: style:inconclusive: Function '_glfwInputDrop' argument 3 names different: declaration 'names' definition 'paths'. [funcArgNamesDifferent] glfw-3.4/src/internal.h:928:66: note: Function '_glfwInputDrop' argument 3 names different: declaration 'names' definition 'paths'. glfw-3.4/src/input.c:404:66: note: Function '_glfwInputDrop' argument 3 names different: declaration 'names' definition 'paths'. glfw-3.4/src/input.c:560:42: style:inconclusive: Function 'glfwGetInputMode' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4673:42: note: Function 'glfwGetInputMode' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:560:42: note: Function 'glfwGetInputMode' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:585:43: style:inconclusive: Function 'glfwSetInputMode' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4738:43: note: Function 'glfwSetInputMode' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:585:43: note: Function 'glfwSetInputMode' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:735:36: style:inconclusive: Function 'glfwGetKey' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4901:36: note: Function 'glfwGetKey' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:735:36: note: Function 'glfwGetKey' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:758:44: style:inconclusive: Function 'glfwGetMouseButton' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4930:44: note: Function 'glfwGetMouseButton' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:758:44: note: Function 'glfwGetMouseButton' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:781:43: style:inconclusive: Function 'glfwGetCursorPos' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4968:43: note: Function 'glfwGetCursorPos' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:781:43: note: Function 'glfwGetCursorPos' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:804:43: style:inconclusive: Function 'glfwSetCursorPos' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5008:43: note: Function 'glfwSetCursorPos' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:804:43: note: Function 'glfwSetCursorPos' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:898:44: style:inconclusive: Function 'glfwDestroyCursor' argument 1 names different: declaration 'cursor' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5121:44: note: Function 'glfwDestroyCursor' argument 1 names different: declaration 'cursor' definition 'handle'. glfw-3.4/src/input.c:898:44: note: Function 'glfwDestroyCursor' argument 1 names different: declaration 'cursor' definition 'handle'. glfw-3.4/src/input.c:933:40: style:inconclusive: Function 'glfwSetCursor' argument 1 names different: declaration 'window' definition 'windowHandle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5148:40: note: Function 'glfwSetCursor' argument 1 names different: declaration 'window' definition 'windowHandle'. glfw-3.4/src/input.c:933:40: note: Function 'glfwSetCursor' argument 1 names different: declaration 'window' definition 'windowHandle'. glfw-3.4/src/input.c:933:66: style:inconclusive: Function 'glfwSetCursor' argument 2 names different: declaration 'cursor' definition 'cursorHandle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5148:60: note: Function 'glfwSetCursor' argument 2 names different: declaration 'cursor' definition 'cursorHandle'. glfw-3.4/src/input.c:933:66: note: Function 'glfwSetCursor' argument 2 names different: declaration 'cursor' definition 'cursorHandle'. glfw-3.4/src/input.c:946:51: style:inconclusive: Function 'glfwSetKeyCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5198:51: note: Function 'glfwSetKeyCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:946:51: note: Function 'glfwSetKeyCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:956:53: style:inconclusive: Function 'glfwSetCharCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5241:53: note: Function 'glfwSetCharCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:956:53: note: Function 'glfwSetCharCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:966:61: style:inconclusive: Function 'glfwSetCharModsCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5283:61: note: Function 'glfwSetCharModsCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:966:61: note: Function 'glfwSetCharModsCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:976:67: style:inconclusive: Function 'glfwSetMouseButtonCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5320:67: note: Function 'glfwSetMouseButtonCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:976:67: note: Function 'glfwSetMouseButtonCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:987:63: style:inconclusive: Function 'glfwSetCursorPosCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5352:63: note: Function 'glfwSetCursorPosCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:987:63: note: Function 'glfwSetCursorPosCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:998:67: style:inconclusive: Function 'glfwSetCursorEnterCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5383:67: note: Function 'glfwSetCursorEnterCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:998:67: note: Function 'glfwSetCursorEnterCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1009:57: style:inconclusive: Function 'glfwSetScrollCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5417:57: note: Function 'glfwSetScrollCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1009:57: note: Function 'glfwSetScrollCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1020:53: style:inconclusive: Function 'glfwSetDropCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5452:53: note: Function 'glfwSetDropCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1020:53: note: Function 'glfwSetDropCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1459:49: style:inconclusive: Function 'glfwSetClipboardString' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5927:49: note: Function 'glfwSetClipboardString' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1459:49: note: Function 'glfwSetClipboardString' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1467:56: style:inconclusive: Function 'glfwGetClipboardString' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:5962:56: note: Function 'glfwGetClipboardString' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1467:56: note: Function 'glfwGetClipboardString' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/input.c:1229:20: style: Variable 'js' can be declared as pointer to const [constVariablePointer] glfw-3.4/src/null_window.c:118:9: style: Condition '!createNativeWindow(window,wndconfig,fbconfig)' is always false [knownConditionTrueFalse] glfw-3.4/src/null_window.c:118:28: note: Calling function 'createNativeWindow' returns 1 glfw-3.4/src/null_window.c:118:9: note: Condition '!createNativeWindow(window,wndconfig,fbconfig)' is always false glfw-3.4/src/null_window.c:32:42: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:180:43: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:184:42: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:293:47: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:406:54: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:420:46: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:434:51: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:472:46: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:517:42: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:521:45: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:528:53: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:533:42: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:537:38: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:537:59: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:563:62: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:712:52: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/null_window.c:714:53: style: Parameter 'surface' can be declared as pointer to const [constParameterPointer] glfw-3.4/src/platform.c:61:34: style:inconclusive: Function '_glfwSelectPlatform' argument 1 names different: declaration 'platformID' definition 'desiredID'. [funcArgNamesDifferent] glfw-3.4/src/internal.h:949:34: note: Function '_glfwSelectPlatform' argument 1 names different: declaration 'platformID' definition 'desiredID'. glfw-3.4/src/platform.c:61:34: note: Function '_glfwSelectPlatform' argument 1 names different: declaration 'platformID' definition 'desiredID'. glfw-3.4/src/platform.c:141:39: style:inconclusive: Function 'glfwPlatformSupported' argument 1 names different: declaration 'platform' definition 'platformID'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:2548:39: note: Function 'glfwPlatformSupported' argument 1 names different: declaration 'platform' definition 'platformID'. glfw-3.4/src/platform.c:141:39: note: Function 'glfwPlatformSupported' argument 1 names different: declaration 'platform' definition 'platformID'. glfw-3.4/src/osmesa_context.c:294:50: style:inconclusive: Function 'glfwGetOSMesaColorBuffer' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3native.h:614:50: note: Function 'glfwGetOSMesaColorBuffer' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/osmesa_context.c:294:50: note: Function 'glfwGetOSMesaColorBuffer' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/osmesa_context.c:331:50: style:inconclusive: Function 'glfwGetOSMesaDepthBuffer' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3native.h:638:50: note: Function 'glfwGetOSMesaDepthBuffer' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/osmesa_context.c:331:50: note: Function 'glfwGetOSMesaDepthBuffer' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/osmesa_context.c:370:56: style:inconclusive: Function 'glfwGetOSMesaContext' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3native.h:655:56: note: Function 'glfwGetOSMesaContext' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/osmesa_context.c:370:56: note: Function 'glfwGetOSMesaContext' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/osmesa_context.c:89:44: style: Parameter 'window' can be declared as pointer to const. However it seems that 'swapBuffersOSMesa' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/src/osmesa_context.c:278:35: note: You might need to cast the function pointer here glfw-3.4/src/osmesa_context.c:89:44: note: Parameter 'window' can be declared as pointer to const glfw-3.4/src/posix_time.c:42:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] glfw-3.4/src/window.c:138:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/src/window.c:1156:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/src/window.c:75:51: style:inconclusive: Function '_glfwInputWindowPos' argument 2 names different: declaration 'xpos' definition 'x'. [funcArgNamesDifferent] glfw-3.4/src/internal.h:909:51: note: Function '_glfwInputWindowPos' argument 2 names different: declaration 'xpos' definition 'x'. glfw-3.4/src/window.c:75:51: note: Function '_glfwInputWindowPos' argument 2 names different: declaration 'xpos' definition 'x'. glfw-3.4/src/window.c:75:58: style:inconclusive: Function '_glfwInputWindowPos' argument 3 names different: declaration 'ypos' definition 'y'. [funcArgNamesDifferent] glfw-3.4/src/internal.h:909:61: note: Function '_glfwInputWindowPos' argument 3 names different: declaration 'ypos' definition 'y'. glfw-3.4/src/window.c:75:58: note: Function '_glfwInputWindowPos' argument 3 names different: declaration 'ypos' definition 'y'. glfw-3.4/src/window.c:468:44: style:inconclusive: Function 'glfwDestroyWindow' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3264:44: note: Function 'glfwDestroyWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:468:44: note: Function 'glfwDestroyWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:502:47: style:inconclusive: Function 'glfwWindowShouldClose' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3284:47: note: Function 'glfwWindowShouldClose' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:502:47: note: Function 'glfwWindowShouldClose' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:511:51: style:inconclusive: Function 'glfwSetWindowShouldClose' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3306:51: note: Function 'glfwSetWindowShouldClose' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:511:51: note: Function 'glfwSetWindowShouldClose' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:520:52: style:inconclusive: Function 'glfwGetWindowTitle' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3338:52: note: Function 'glfwGetWindowTitle' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:520:52: note: Function 'glfwGetWindowTitle' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:530:45: style:inconclusive: Function 'glfwSetWindowTitle' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3364:45: note: Function 'glfwSetWindowTitle' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:530:45: note: Function 'glfwSetWindowTitle' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:545:44: style:inconclusive: Function 'glfwSetWindowIcon' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3413:44: note: Function 'glfwSetWindowIcon' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:545:44: note: Function 'glfwSetWindowIcon' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:578:43: style:inconclusive: Function 'glfwGetWindowPos' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3445:43: note: Function 'glfwGetWindowPos' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:578:43: note: Function 'glfwGetWindowPos' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:592:43: style:inconclusive: Function 'glfwSetWindowPos' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3480:43: note: Function 'glfwSetWindowPos' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:592:43: note: Function 'glfwSetWindowPos' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:605:44: style:inconclusive: Function 'glfwGetWindowSize' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3510:44: note: Function 'glfwGetWindowSize' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:605:44: note: Function 'glfwGetWindowSize' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:619:44: style:inconclusive: Function 'glfwSetWindowSize' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3634:44: note: Function 'glfwSetWindowSize' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:619:44: note: Function 'glfwSetWindowSize' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:634:50: style:inconclusive: Function 'glfwSetWindowSizeLimits' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3553:50: note: Function 'glfwSetWindowSizeLimits' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:634:50: note: Function 'glfwSetWindowSizeLimits' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:679:51: style:inconclusive: Function 'glfwSetWindowAspectRatio' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3596:51: note: Function 'glfwSetWindowAspectRatio' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:679:51: note: Function 'glfwSetWindowAspectRatio' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:708:49: style:inconclusive: Function 'glfwGetFramebufferSize' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3663:49: note: Function 'glfwGetFramebufferSize' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:708:49: note: Function 'glfwGetFramebufferSize' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:722:49: style:inconclusive: Function 'glfwGetWindowFrameSize' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3700:49: note: Function 'glfwGetWindowFrameSize' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:722:49: note: Function 'glfwGetWindowFrameSize' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:742:52: style:inconclusive: Function 'glfwGetWindowContentScale' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3733:52: note: Function 'glfwGetWindowContentScale' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:742:52: note: Function 'glfwGetWindowContentScale' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:757:48: style:inconclusive: Function 'glfwGetWindowOpacity' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3760:48: note: Function 'glfwGetWindowOpacity' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:757:48: note: Function 'glfwGetWindowOpacity' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:766:47: style:inconclusive: Function 'glfwSetWindowOpacity' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3792:47: note: Function 'glfwSetWindowOpacity' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:766:47: note: Function 'glfwSetWindowOpacity' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:785:44: style:inconclusive: Function 'glfwIconifyWindow' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3824:44: note: Function 'glfwIconifyWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:785:44: note: Function 'glfwIconifyWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:794:44: style:inconclusive: Function 'glfwRestoreWindow' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3851:44: note: Function 'glfwRestoreWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:794:44: note: Function 'glfwRestoreWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:803:45: style:inconclusive: Function 'glfwMaximizeWindow' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3876:45: note: Function 'glfwMaximizeWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:803:45: note: Function 'glfwMaximizeWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:816:41: style:inconclusive: Function 'glfwShowWindow' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3908:41: note: Function 'glfwShowWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:816:41: note: Function 'glfwShowWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:832:53: style:inconclusive: Function 'glfwRequestWindowAttention' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3996:53: note: Function 'glfwRequestWindowAttention' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:832:53: note: Function 'glfwRequestWindowAttention' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:842:41: style:inconclusive: Function 'glfwHideWindow' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3930:41: note: Function 'glfwHideWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:842:41: note: Function 'glfwHideWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:855:42: style:inconclusive: Function 'glfwFocusWindow' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:3969:42: note: Function 'glfwFocusWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:855:42: note: Function 'glfwFocusWindow' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:865:45: style:inconclusive: Function 'glfwGetWindowAttrib' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4111:45: note: Function 'glfwGetWindowAttrib' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:865:45: note: Function 'glfwGetWindowAttrib' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:928:46: style:inconclusive: Function 'glfwSetWindowAttrib' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4153:46: note: Function 'glfwSetWindowAttrib' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:928:46: note: Function 'glfwSetWindowAttrib' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:974:55: style:inconclusive: Function 'glfwGetWindowMonitor' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4018:55: note: Function 'glfwGetWindowMonitor' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:974:55: note: Function 'glfwGetWindowMonitor' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:983:47: style:inconclusive: Function 'glfwSetWindowMonitor' argument 1 names different: declaration 'window' definition 'wh'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4074:47: note: Function 'glfwSetWindowMonitor' argument 1 names different: declaration 'window' definition 'wh'. glfw-3.4/src/window.c:983:47: note: Function 'glfwSetWindowMonitor' argument 1 names different: declaration 'window' definition 'wh'. glfw-3.4/src/window.c:984:48: style:inconclusive: Function 'glfwSetWindowMonitor' argument 2 names different: declaration 'monitor' definition 'mh'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4074:68: note: Function 'glfwSetWindowMonitor' argument 2 names different: declaration 'monitor' definition 'mh'. glfw-3.4/src/window.c:984:48: note: Function 'glfwSetWindowMonitor' argument 2 names different: declaration 'monitor' definition 'mh'. glfw-3.4/src/window.c:1022:51: style:inconclusive: Function 'glfwSetWindowUserPointer' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4176:51: note: Function 'glfwSetWindowUserPointer' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1022:51: note: Function 'glfwSetWindowUserPointer' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1031:52: style:inconclusive: Function 'glfwGetWindowUserPointer' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4197:52: note: Function 'glfwGetWindowUserPointer' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1031:52: note: Function 'glfwGetWindowUserPointer' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1040:63: style:inconclusive: Function 'glfwSetWindowPosCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4232:63: note: Function 'glfwSetWindowPosCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1040:63: note: Function 'glfwSetWindowPosCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1051:65: style:inconclusive: Function 'glfwSetWindowSizeCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4264:65: note: Function 'glfwSetWindowSizeCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1051:65: note: Function 'glfwSetWindowSizeCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1062:67: style:inconclusive: Function 'glfwSetWindowCloseCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4304:67: note: Function 'glfwSetWindowCloseCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1062:67: note: Function 'glfwSetWindowCloseCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1073:71: style:inconclusive: Function 'glfwSetWindowRefreshCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4340:71: note: Function 'glfwSetWindowRefreshCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1073:71: note: Function 'glfwSetWindowRefreshCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1084:67: style:inconclusive: Function 'glfwSetWindowFocusCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4375:67: note: Function 'glfwSetWindowFocusCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1084:67: note: Function 'glfwSetWindowFocusCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1095:71: style:inconclusive: Function 'glfwSetWindowIconifyCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4405:71: note: Function 'glfwSetWindowIconifyCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1095:71: note: Function 'glfwSetWindowIconifyCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1106:73: style:inconclusive: Function 'glfwSetWindowMaximizeCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4435:73: note: Function 'glfwSetWindowMaximizeCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1106:73: note: Function 'glfwSetWindowMaximizeCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1117:75: style:inconclusive: Function 'glfwSetFramebufferSizeCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4465:75: note: Function 'glfwSetFramebufferSizeCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1117:75: note: Function 'glfwSetFramebufferSizeCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1128:81: style:inconclusive: Function 'glfwSetWindowContentScaleCallback' argument 1 names different: declaration 'window' definition 'handle'. [funcArgNamesDifferent] glfw-3.4/include/GLFW/glfw3.h:4496:81: note: Function 'glfwSetWindowContentScaleCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:1128:81: note: Function 'glfwSetWindowContentScaleCallback' argument 1 names different: declaration 'window' definition 'handle'. glfw-3.4/src/window.c:504:18: style: Variable 'window' can be declared as pointer to const [constVariablePointer] glfw-3.4/src/window.c:522:18: style: Variable 'window' can be declared as pointer to const [constVariablePointer] glfw-3.4/src/window.c:1033:18: style: Variable 'window' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/allocator.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/allocator.c:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glfwInit [valueFlowBailoutIncompleteVar] glfw-3.4/tests/allocator.c:98:5: error: Common realloc mistake: 'real_block' nulled but not freed upon failure [memleakOnRealloc] glfw-3.4/tests/clipboard.c:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/clipboard.c:58:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/clipboard.c:114:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/empty.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/empty.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] glfw-3.4/tests/empty.c:66:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/empty.c:72:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] glfw-3.4/tests/empty.c:96:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glfwGetProcAddress [valueFlowBailoutIncompleteVar] glfw-3.4/tests/cursor.c:78:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/cursor.c:159:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/cursor.c:376:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/tests/gamma.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:241:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_MOD_SHIFT [valueFlowBailoutIncompleteVar] glfw-3.4/tests/gamma.c:60:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_KEY_ESCAPE [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:287:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/gamma.c:68:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NK_CHART_LINES [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:327:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_KEY_C [valueFlowBailoutIncompleteVar] glfw-3.4/tests/gamma.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glfwGetProcAddress [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:340:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:404:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_KEY_UNKNOWN [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:481:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONNECTED [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:508:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONNECTED [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:587:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_REFRESH_RATE [valueFlowBailoutIncompleteVar] glfw-3.4/tests/gamma.c:78:17: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] glfw-3.4/tests/icon.c:96:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/icon.c:120:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/events.c:607:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: slots [nullPointerOutOfMemory] glfw-3.4/tests/events.c:601:19: note: Assuming allocation function fails glfw-3.4/tests/events.c:601:19: note: Assignment 'slots=calloc(count,sizeof(struct Slot))', assigned value is 0 glfw-3.4/tests/events.c:607:9: note: Null pointer dereference glfw-3.4/tests/events.c:608:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: slots [nullPointerOutOfMemory] glfw-3.4/tests/events.c:601:19: note: Assuming allocation function fails glfw-3.4/tests/events.c:601:19: note: Assignment 'slots=calloc(count,sizeof(struct Slot))', assigned value is 0 glfw-3.4/tests/events.c:608:9: note: Null pointer dereference glfw-3.4/tests/events.c:610:68: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: slots [nullPointerOutOfMemory] glfw-3.4/tests/events.c:601:19: note: Assuming allocation function fails glfw-3.4/tests/events.c:601:19: note: Assignment 'slots=calloc(count,sizeof(struct Slot))', assigned value is 0 glfw-3.4/tests/events.c:610:68: note: Null pointer dereference glfw-3.4/tests/events.c:626:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: slots [nullPointerOutOfMemory] glfw-3.4/tests/events.c:601:19: note: Assuming allocation function fails glfw-3.4/tests/events.c:601:19: note: Assignment 'slots=calloc(count,sizeof(struct Slot))', assigned value is 0 glfw-3.4/tests/events.c:626:9: note: Null pointer dereference glfw-3.4/tests/events.c:627:14: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: slots [nullPointerOutOfMemory] glfw-3.4/tests/events.c:601:19: note: Assuming allocation function fails glfw-3.4/tests/events.c:601:19: note: Assignment 'slots=calloc(count,sizeof(struct Slot))', assigned value is 0 glfw-3.4/tests/events.c:627:14: note: Null pointer dereference glfw-3.4/tests/glfwinfo.c:140:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:145:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PLATFORM_WIN32 [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:161:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_PHYSICAL_DEVICE_TYPE_OTHER [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_OPENGL_API [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:187:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CONTEXT_COMPATIBILITY_PROFILE_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:197:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_OPENGL_COMPAT_PROFILE [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:207:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LOSE_CONTEXT_ON_RESET_ARB [valueFlowBailoutIncompleteVar] glfw-3.4/tests/cursor.c:460:23: style: Local variable 'i' shadows outer variable [shadowVariable] glfw-3.4/tests/cursor.c:329:9: note: Shadowed declaration glfw-3.4/tests/cursor.c:460:23: note: Shadow variable glfw-3.4/tests/glfwinfo.c:217:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_LOSE_CONTEXT_ON_RESET [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:232:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NUM_EXTENSIONS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:264:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VkLayerProperties [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:285:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VkLayerProperties [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:305:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/tests/glfwinfo.c:357:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_ANY_PLATFORM [valueFlowBailoutIncompleteVar] glfw-3.4/tests/cursor.c:147:50: style: Parameter 'window' can be declared as pointer to const. However it seems that 'cursor_position_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/tests/cursor.c:416:38: note: You might need to cast the function pointer here glfw-3.4/tests/cursor.c:147:50: note: Parameter 'window' can be declared as pointer to const glfw-3.4/tests/cursor.c:332:17: style: Variable 'current_frame' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:292:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:299:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:306:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:313:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:335:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:346:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:354:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:362:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:370:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:380:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:387:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:395:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:459:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/events.c:470:11: style: Variable 'slot' can be declared as pointer to const [constVariablePointer] glfw-3.4/tests/iconify.c:54:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/inputlag.c:91:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nk_true [valueFlowBailoutIncompleteVar] glfw-3.4/tests/iconify.c:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/inputlag.c:105:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/tests/iconify.c:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] glfw-3.4/tests/inputlag.c:130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/iconify.c:174:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_REFRESH_RATE [valueFlowBailoutIncompleteVar] glfw-3.4/tests/inputlag.c:135:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/iconify.c:204:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_FALSE [valueFlowBailoutIncompleteVar] glfw-3.4/tests/inputlag.c:159:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_FALSE [valueFlowBailoutIncompleteVar] glfw-3.4/tests/iconify.c:244:13: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:240:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:240:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:244:13: note: Null pointer dereference glfw-3.4/tests/iconify.c:245:18: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:240:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:240:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:245:18: note: Null pointer dereference glfw-3.4/tests/iconify.c:258:9: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:258:9: note: Null pointer dereference glfw-3.4/tests/iconify.c:263:28: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:263:28: note: Null pointer dereference glfw-3.4/tests/iconify.c:264:40: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:264:40: note: Null pointer dereference glfw-3.4/tests/iconify.c:265:35: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:265:35: note: Null pointer dereference glfw-3.4/tests/iconify.c:266:36: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:266:36: note: Null pointer dereference glfw-3.4/tests/iconify.c:267:38: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:267:38: note: Null pointer dereference glfw-3.4/tests/iconify.c:268:39: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:268:39: note: Null pointer dereference glfw-3.4/tests/iconify.c:269:38: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:269:38: note: Null pointer dereference glfw-3.4/tests/iconify.c:271:33: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:271:33: note: Null pointer dereference glfw-3.4/tests/iconify.c:274:33: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:274:33: note: Null pointer dereference glfw-3.4/tests/iconify.c:275:33: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:275:33: note: Null pointer dereference glfw-3.4/tests/iconify.c:284:39: warning: If memory allocation fails, then there is a possible null pointer dereference: windows [nullPointerOutOfMemory] glfw-3.4/tests/iconify.c:257:25: note: Assuming allocation function fails glfw-3.4/tests/iconify.c:257:25: note: Assignment 'windows=calloc(window_count,sizeof(GLFWwindow*))', assigned value is 0 glfw-3.4/tests/iconify.c:284:39: note: Null pointer dereference glfw-3.4/tests/iconify.c:124:46: style: Parameter 'window' can be declared as pointer to const. However it seems that 'window_size_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/tests/iconify.c:265:47: note: You might need to cast the function pointer here glfw-3.4/tests/iconify.c:124:46: note: Parameter 'window' can be declared as pointer to const glfw-3.4/tests/iconify.c:129:51: style: Parameter 'window' can be declared as pointer to const. However it seems that 'framebuffer_size_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/tests/iconify.c:264:52: note: You might need to cast the function pointer here glfw-3.4/tests/iconify.c:129:51: note: Parameter 'window' can be declared as pointer to const glfw-3.4/tests/iconify.c:134:47: style: Parameter 'window' can be declared as pointer to const. However it seems that 'window_focus_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/tests/iconify.c:266:48: note: You might need to cast the function pointer here glfw-3.4/tests/iconify.c:134:47: note: Parameter 'window' can be declared as pointer to const glfw-3.4/tests/iconify.c:141:49: style: Parameter 'window' can be declared as pointer to const. However it seems that 'window_iconify_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/tests/iconify.c:267:50: note: You might need to cast the function pointer here glfw-3.4/tests/iconify.c:141:49: note: Parameter 'window' can be declared as pointer to const glfw-3.4/tests/iconify.c:148:50: style: Parameter 'window' can be declared as pointer to const. However it seems that 'window_maximize_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/tests/iconify.c:268:51: note: You might need to cast the function pointer here glfw-3.4/tests/iconify.c:148:50: note: Parameter 'window' can be declared as pointer to const glfw-3.4/tests/joysticks.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/joysticks.c:68:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONNECTED [valueFlowBailoutIncompleteVar] glfw-3.4/tests/joysticks.c:129:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NK_WIDGET_INVALID [valueFlowBailoutIncompleteVar] glfw-3.4/tests/joysticks.c:174:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_FALSE [valueFlowBailoutIncompleteVar] glfw-3.4/tests/inputlag.c:230:13: style: Local variable 'width' shadows outer variable [shadowVariable] glfw-3.4/tests/inputlag.c:155:13: note: Shadowed declaration glfw-3.4/tests/inputlag.c:230:13: note: Shadow variable glfw-3.4/tests/inputlag.c:230:20: style: Local variable 'height' shadows outer variable [shadowVariable] glfw-3.4/tests/inputlag.c:155:20: note: Shadowed declaration glfw-3.4/tests/inputlag.c:230:20: note: Shadow variable glfw-3.4/tests/monitors.c:79:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/monitors.c:91:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_KEY_ESCAPE [valueFlowBailoutIncompleteVar] glfw-3.4/tests/monitors.c:127:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFWvidmode [valueFlowBailoutIncompleteVar] glfw-3.4/tests/monitors.c:145:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_RED_BITS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/msaa.c:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/msaa.c:80:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/msaa.c:114:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] glfw-3.4/tests/monitors.c:82:51: style: Parameter 'window' can be declared as pointer to const. However it seems that 'framebuffer_size_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/tests/monitors.c:167:48: note: You might need to cast the function pointer here glfw-3.4/tests/monitors.c:82:51: note: Parameter 'window' can be declared as pointer to const glfw-3.4/tests/joysticks.c:107:9: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] glfw-3.4/tests/joysticks.c:106:22: note: Assuming allocation function fails glfw-3.4/tests/joysticks.c:106:22: note: Assignment 'text=malloc(size+1)', assigned value is 0 glfw-3.4/tests/joysticks.c:107:9: note: Null pointer dereference glfw-3.4/tests/joysticks.c:108:19: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] glfw-3.4/tests/joysticks.c:106:22: note: Assuming allocation function fails glfw-3.4/tests/joysticks.c:106:22: note: Assignment 'text=malloc(size+1)', assigned value is 0 glfw-3.4/tests/joysticks.c:108:19: note: Null pointer dereference glfw-3.4/tests/reopen.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/reopen.c:83:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/reopen.c:115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/tests/tearing.c:94:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glfw-3.4/tests/tearing.c:99:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_PRESS [valueFlowBailoutIncompleteVar] glfw-3.4/tests/tearing.c:169:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLFW_CONTEXT_VERSION_MAJOR [valueFlowBailoutIncompleteVar] glfw-3.4/tests/reopen.c:201:17: style: Local variable 'width' shadows outer variable [shadowVariable] glfw-3.4/tests/reopen.c:120:13: note: Shadowed declaration glfw-3.4/tests/reopen.c:201:17: note: Shadow variable glfw-3.4/tests/reopen.c:201:24: style: Local variable 'height' shadows outer variable [shadowVariable] glfw-3.4/tests/reopen.c:120:20: note: Shadowed declaration glfw-3.4/tests/reopen.c:201:24: note: Shadow variable glfw-3.4/tests/reopen.c:76:47: style: Parameter 'window' can be declared as pointer to const. However it seems that 'window_close_callback' is a callback function, if 'window' is declared with const you might also need to cast function pointer(s). [constParameterCallback] glfw-3.4/tests/reopen.c:165:44: note: You might need to cast the function pointer here glfw-3.4/tests/reopen.c:76:47: note: Parameter 'window' can be declared as pointer to const glfw-3.4/tests/tearing.c:106:35: warning: Invalid test for overflow 'swap_interval+1>swap_interval'; signed integer overflow is undefined behavior. Some mainstream compilers remove such overflow tests when optimising the code and assume it's always true. [invalidTestForOverflow] glfw-3.4/tests/tearing.c:115:39: warning: Invalid test for overflow 'swap_interval-1