2025-09-02 19:18 ftp://ftp.de.debian.org/debian/pool/main/p/pqiv/pqiv_2.13.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --library=cairo --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 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: e6e045f (2025-09-02 21:05:14 +0200) count: 55 201 elapsed-time: 1.0 6.8 head-timing-info: old-timing-info: head results: phillipberndt-pqiv-2f040df/backends/archive.c:50:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/archive.c:88:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/archive.c:132:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_FILTER_FILENAME [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/archive.c:39:62: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] phillipberndt-pqiv-2f040df/backends/archive_cbx.c:52:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/archive_cbx.c:80:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/archive_cbx.c:148:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/archive_cbx.c:41:66: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] phillipberndt-pqiv-2f040df/backends/archive_cbx.c:199:19: style: Variable 'old_surface' can be declared as pointer to const [constVariablePointer] phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:36:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:36:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/backends/libav.c:32:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/backends/libav.c:32:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/backends/poppler.c:38:0: error: failed to evaluate #if condition, undefined function-like macro invocation: POPPLER_CHECK_VERSION( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/backends/poppler.c:38:3: error: failed to evaluate #if condition, undefined function-like macro invocation: POPPLER_CHECK_VERSION( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/backends/shared-initializer.c:50:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/shared-initializer.c:70:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MODULE_BIND_LOCAL [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/spectre.c:188:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_RGB24 [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/spectre.c:44:25: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] phillipberndt-pqiv-2f040df/backends/wand.c:78:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/wand.c:100:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable magick_wand_global_lock [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/wand.c:173:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable magick_wand_global_lock [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/wand.c:246:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable magick_wand_global_lock [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/wand.c:266:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable magick_wand_global_lock [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/wand.c:290:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_OVER [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/wand.c:299:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable magick_wand_global_lock [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/wand.c:68:54: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] phillipberndt-pqiv-2f040df/backends/wand.c:69:8: style: Variable 'actual_extension' can be declared as pointer to const [constVariablePointer] phillipberndt-pqiv-2f040df/backends/wand.c:178:10: style: Variable 'image_bytes' can be declared as pointer to const [constVariablePointer] phillipberndt-pqiv-2f040df/backends/webp.c:78:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VP8_STATUS_OK [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/backends/webp.c:66:10: style: Variable 'image_bytes' can be declared as pointer to const [constVariablePointer] phillipberndt-pqiv-2f040df/backends/webp.c:74:11: style: Variable 'webp_retptr' can be declared as pointer to const [constVariablePointer] phillipberndt-pqiv-2f040df/lib/bostree.c:214:36: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] phillipberndt-pqiv-2f040df/lib/bostree.c:381:12: style: Condition 'node->left_child_node' is always true [knownConditionTrueFalse] phillipberndt-pqiv-2f040df/lib/bostree.c:585:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phillipberndt-pqiv-2f040df/lib/bostree.c:585:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phillipberndt-pqiv-2f040df/lib/bostree.c:585:2: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] phillipberndt-pqiv-2f040df/lib/bostree.c:135:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_tree [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:134:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:134:28: note: Assignment 'new_tree=malloc(sizeof(struct BOSTree))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:135:2: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/bostree.c:136:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_tree [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:134:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:134:28: note: Assignment 'new_tree=malloc(sizeof(struct BOSTree))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:136:2: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/bostree.c:137:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_tree [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:134:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:134:28: note: Assignment 'new_tree=malloc(sizeof(struct BOSTree))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:137:2: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/bostree.c:197:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assignment 'new_node=malloc(sizeof(struct BOSNode))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:197:9: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/bostree.c:198:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assignment 'new_node=malloc(sizeof(struct BOSNode))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:198:2: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/bostree.c:199:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assignment 'new_node=malloc(sizeof(struct BOSNode))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:199:2: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/bostree.c:200:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assignment 'new_node=malloc(sizeof(struct BOSNode))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:200:2: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/bostree.c:201:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assignment 'new_node=malloc(sizeof(struct BOSNode))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:201:2: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/bostree.c:202:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assuming allocation function fails phillipberndt-pqiv-2f040df/lib/bostree.c:196:28: note: Assignment 'new_node=malloc(sizeof(struct BOSNode))', assigned value is 0 phillipberndt-pqiv-2f040df/lib/bostree.c:202:2: note: Null pointer dereference phillipberndt-pqiv-2f040df/lib/config_parser.c:53:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/lib/config_parser.c:212:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/lib/filebuffer.c:212:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET [valueFlowBailoutIncompleteVar] phillipberndt-pqiv-2f040df/lib/filebuffer.c:124:7: style: Condition 'data_bytes' is always false [knownConditionTrueFalse] phillipberndt-pqiv-2f040df/lib/filebuffer.c:68:24: note: Assignment 'data_bytes=NULL', assigned value is 0 phillipberndt-pqiv-2f040df/lib/filebuffer.c:124:7: note: Condition 'data_bytes' is always false phillipberndt-pqiv-2f040df/lib/filebuffer.c:193:10: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:39:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:39:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/pqiv.c:93:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] phillipberndt-pqiv-2f040df/pqiv.c:93:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] diff: 2.18.0 phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:100:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:196:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:196:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:199:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:250:20: style: Variable 'old_surface' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:274:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] head phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:36:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head phillipberndt-pqiv-2f040df/backends/gdkpixbuf.c:36:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 phillipberndt-pqiv-2f040df/backends/libav.c:112:2: warning: Return value of function g_bytes_get_data() is not used. [ignoredReturnValue] 2.18.0 phillipberndt-pqiv-2f040df/backends/libav.c:231:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable codec_type [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/backends/libav.c:320:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AVPacket [valueFlowBailoutIncompleteVar] head phillipberndt-pqiv-2f040df/backends/libav.c:32:0: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] head phillipberndt-pqiv-2f040df/backends/libav.c:32:2: error: failed to evaluate #if condition, undefined function-like macro invocation: AV_VERSION_INT( ... ) [preprocessorErrorDirective] 2.18.0 phillipberndt-pqiv-2f040df/backends/libav.c:374:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pix_fmt [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/backends/poppler.c:115:11: style: Variable 'data_bytes' can be declared as pointer to const [constVariablePointer] head phillipberndt-pqiv-2f040df/backends/poppler.c:38:0: error: failed to evaluate #if condition, undefined function-like macro invocation: POPPLER_CHECK_VERSION( ... ) [preprocessorErrorDirective] head phillipberndt-pqiv-2f040df/backends/poppler.c:38:3: error: failed to evaluate #if condition, undefined function-like macro invocation: POPPLER_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:113:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:120:9: style: Variable 'filename_basename' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:152:56: style: Parameter 'file_uri' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:164:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:258:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:303:128: style: Parameter 'special_thumbnail_directory' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:326:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_MD5 [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:352:27: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:352:27: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:393:27: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:393:27: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] head phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:39:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:39:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:443:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_STATUS_WRITE_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:491:127: style: Parameter 'special_thumbnail_directory' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:560:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_CHECKSUM_MD5 [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:563:26: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:563:26: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:581:26: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:581:26: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:81:60: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/lib/thumbnailcache.c:95:42: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1031:17: style:inconclusive: Redundant condition: The condition '*value' is redundant since '*value >= '0'' is sufficient. [redundantCondition] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1129:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1270:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1284:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1341:20: error: Allocation with g_option_context_get_help, g_printerr doesn't release it. [leakNoVarFunctionCall] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1354:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_MONITOR_EVENT_CREATED [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1468:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] phillipberndt-pqiv-2f040df/pqiv.c:1462:25: note: outer condition: !gui_initialized phillipberndt-pqiv-2f040df/pqiv.c:1468:6: note: identical inner condition: !gui_initialized 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1518:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1559:75: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'pqiv_utility_strcmp0_data' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:1730:51: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:1559:75: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1605:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_FILTER_MIME_TYPE [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1608:12: style: Variable 'mime_guess_result' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1623:10: style: Variable 'original_parameter' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1673:85: error: Dereferencing 'param' after it is deallocated / released [deallocuse] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1729:33: style: Local variable 'options' shadows outer variable [shadowVariable] phillipberndt-pqiv-2f040df/pqiv.c:405:14: note: Shadowed declaration phillipberndt-pqiv-2f040df/pqiv.c:1729:33: note: Shadow variable 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1872:6: style: Condition '!file->file_type' is always false [knownConditionTrueFalse] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:1941:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkFileFilterInfo [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2052:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2162:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_NONE [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2216:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ALWAYS [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2350:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2439:2: error: Memory leak: mem_data [memleak] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2532:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_ERROR_CANCELLED [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2609:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2684:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2762:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2872:97: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:2883:41: style: Parameter 'new_pos' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3003:73: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'absolute_image_movement_still_unloaded_timer_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:3042:32: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:3003:73: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3067:68: style: Parameter 'ref' can be declared as pointer to const. However it seems that 'relative_image_pointer_shuffle_list_cmp' is a callback function, if 'ref' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:3168:81: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:3067:68: note: Parameter 'ref' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3067:82: style: Parameter 'node' can be declared as pointer to const. However it seems that 'relative_image_pointer_shuffle_list_cmp' is a callback function, if 'node' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:3168:81: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:3067:82: note: Parameter 'node' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3078:39: style: Parameter 'display_name' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3134:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prev [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3154:30: style: Variable 'chosen_candidate' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3391:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3478:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3496:10: style: Variable 'ins_pos' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3512:82: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_key_press_close_handler_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:3526:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:3512:82: note: Parameter 'event' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3513:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3519:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3547:66: style: Parameter 'closure' can be declared as pointer to const. However it seems that 'apply_external_image_filter_thread_callback' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:3565:45: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:3547:66: note: Parameter 'closure' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3549:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_STATUS_WRITE_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3641:12: style: Variable 'current_file_node_at_start' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3649:4: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3656:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3736:21: warning:inconclusive: Possible null pointer dereference: store_target [nullPointer] phillipberndt-pqiv-2f040df/pqiv.c:3723:25: note: Assignment 'store_target=NULL', assigned value is 0 phillipberndt-pqiv-2f040df/pqiv.c:3736:21: note: Null pointer dereference 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3736:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3806:46: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'slideshow_timeout_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7437:85: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:3806:46: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3848:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FILTER_NEAREST [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3878:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3920:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3945:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3946:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3969:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:3996:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeIter [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4002:73: style: Parameter 'event' can be declared as pointer to const. However it seems that 'jump_dialog_exit_on_enter_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:4128:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:4002:73: note: Parameter 'event' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4006:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Return [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4012:80: style: Parameter 'event' can be declared as pointer to const. However it seems that 'jump_dialog_exit_on_dbl_click_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:4129:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:4012:80: note: Parameter 'event' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4017:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4030:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4053:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4227:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ALWAYS [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4330:23: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4330:23: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4330:23: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4330:23: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4369:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4373:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4381:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4385:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4398:43: style: Parameter 'object' can be declared as pointer to const. However it seems that 'window_close_callback' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:8073:52: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:4398:43: note: Parameter 'object' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4398:60: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'window_close_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:8073:52: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:4398:60: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:4804:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5050:52: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5125:95: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_CONTENT_COLOR_ALPHA [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5513:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5520:51: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5542:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_POINTER_MOTION_MASK [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5564:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_CHARPTR [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5577:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PARAMETER_CHARPTR [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5629:27: style:inconclusive: Function 'action' argument 1 names different: declaration 'action' definition 'action_id'. [funcArgNamesDifferent] phillipberndt-pqiv-2f040df/pqiv.h:306:27: note: Function 'action' argument 1 names different: declaration 'action' definition 'action_id'. phillipberndt-pqiv-2f040df/pqiv.c:5629:27: note: Function 'action' argument 1 names different: declaration 'action' definition 'action_id'. 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5913:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5936:6: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:5945:4: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:6066:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:6066:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:6826:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:6831:19: style: Local variable 'binding' shadows outer variable [shadowVariable] phillipberndt-pqiv-2f040df/pqiv.c:6817:17: note: Shadowed declaration phillipberndt-pqiv-2f040df/pqiv.c:6831:19: note: Shadow variable 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:6920:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:6956:75: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_motion_notify_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7360:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:6956:75: note: Parameter 'event' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:6957:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:6978:2: error: Memory leak: cursor_pos [memleak] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7015:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_2BUTTON_PRESS [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7056:76: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_button_release_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7362:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7056:76: note: Parameter 'event' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7078:44: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'window_scroll_callback' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7358:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7078:44: note: Parameter 'widget' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7078:68: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_scroll_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7358:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7078:68: note: Parameter 'event' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7078:84: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'window_scroll_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7358:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7078:84: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7098:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BLANK_CURSOR [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7119:56: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'window_state_into_fullscreen_actions' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7186:57: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7119:56: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7142:58: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'window_state_out_of_fullscreen_actions' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7190:57: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7142:58: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7164:72: style: Parameter 'event' can be declared as pointer to const. However it seems that 'window_state_callback' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:7363:2: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7164:72: note: Parameter 'event' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7174:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_FULLSCREEN [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7217:61: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7323:126: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_STRING [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7348:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7370:20: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7443:43: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'initialize_gui_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:1469:25: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7443:43: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7464:83: style: Parameter 'data' can be declared as pointer to const. However it seems that 'help_show_version' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:476:64: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:7464:83: note: Parameter 'data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7470:70: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7477:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SHIFT_MASK [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7480:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7483:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7487:9: style: Variable 'keyval_name' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7493:45: style: Parameter 'current_action' can be declared as pointer to const [constParameterPointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7538:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7589:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:7999:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:8042:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:8103:38: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'load_images_thread' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:8149:32: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:8103:38: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:8149:3: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:8161:3: error: Return value of allocation function 'g_thread_new' is not stored. [leakReturnValNotUsed] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:8198:11: style: Variable 'file' can be declared as pointer to const [constVariablePointer] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:8258:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:891:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:911:100: style: Condition 'strcasecmp(value,"1")==0' is always false [knownConditionTrueFalse] head phillipberndt-pqiv-2f040df/pqiv.c:93:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head phillipberndt-pqiv-2f040df/pqiv.c:93:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 phillipberndt-pqiv-2f040df/pqiv.c:946:93: style: Parameter 'data' can be declared as pointer to const. However it seems that 'option_scale_level_callback' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] phillipberndt-pqiv-2f040df/pqiv.c:451:72: note: You might need to cast the function pointer here phillipberndt-pqiv-2f040df/pqiv.c:946:93: note: Parameter 'data' can be declared as pointer to const DONE