2025-11-03 03:44 ftp://ftp.de.debian.org/debian/pool/main/x/xarchiver/xarchiver_0.5.4.26.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 1f35303 (2025-11-01 19:39:44 +0100) count: 87 311 elapsed-time: 0.6 2.0 head-timing-info: old-timing-info: head results: xarchiver-0.5.4.26/src/support.h:45:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xarchiver-0.5.4.26/src/support.h:45:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] xarchiver-0.5.4.26/src/date_utils.c:76:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xarchiver-0.5.4.26/src/iso.c:43:6: style: Condition '!result' is always true [knownConditionTrueFalse] xarchiver-0.5.4.26/src/iso.c:39:20: note: Assignment 'result=0', assigned value is 0 xarchiver-0.5.4.26/src/iso.c:43:6: note: Condition '!result' is always true xarchiver-0.5.4.26/src/sexy-icon-entry.c:128:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_ACTION [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/sexy-icon-entry.c:180:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finalize [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/sexy-icon-entry.c:246:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/sexy-icon-entry.c:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_CHILD [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/sexy-icon-entry.c:448:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable text_area [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/sexy-icon-entry.c:574:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/sexy-icon-entry.c:953:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/sexy-icon-entry.c:806:70: style:inconclusive: Function 'sexy_icon_entry_set_icon' argument 2 names different: declaration 'position' definition 'icon_pos'. [funcArgNamesDifferent] xarchiver-0.5.4.26/src/sexy-icon-entry.h:85:32: note: Function 'sexy_icon_entry_set_icon' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.26/src/sexy-icon-entry.c:806:70: note: Function 'sexy_icon_entry_set_icon' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.26/src/sexy-icon-entry.c:868:34: style:inconclusive: Function 'sexy_icon_entry_set_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. [funcArgNamesDifferent] xarchiver-0.5.4.26/src/sexy-icon-entry.h:89:33: note: Function 'sexy_icon_entry_set_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.26/src/sexy-icon-entry.c:868:34: note: Function 'sexy_icon_entry_set_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.26/src/sexy-icon-entry.c:916:34: style:inconclusive: Function 'sexy_icon_entry_get_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. [funcArgNamesDifferent] xarchiver-0.5.4.26/src/sexy-icon-entry.h:96:34: note: Function 'sexy_icon_entry_get_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.26/src/sexy-icon-entry.c:916:34: note: Function 'sexy_icon_entry_get_icon_highlight' argument 2 names different: declaration 'position' definition 'icon_pos'. xarchiver-0.5.4.26/src/sexy-icon-entry.c:158:49: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] xarchiver-0.5.4.26/src/sexy-icon-entry.c:303:21: style: Parameter 'text_area_alloc' can be declared as pointer to const [constParameterPointer] xarchiver-0.5.4.26/src/sexy-icon-entry.c:503:10: style: Variable 'pix_src' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.26/src/sexy-icon-entry.c:668:67: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sexy_icon_entry_enter_notify' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/sexy-icon-entry.c:112:37: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/sexy-icon-entry.c:668:67: note: Parameter 'event' can be declared as pointer to const xarchiver-0.5.4.26/src/sexy-icon-entry.c:692:67: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sexy_icon_entry_leave_notify' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/sexy-icon-entry.c:113:37: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/sexy-icon-entry.c:692:67: note: Parameter 'event' can be declared as pointer to const xarchiver-0.5.4.26/src/xdgmime/xdgmimealias.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimealias.c:51:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimealias.c:51:17: note: Assignment 'list=malloc(sizeof(struct XdgAliasList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimealias.c:53:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimealias.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimealias.c:51:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimealias.c:51:17: note: Assignment 'list=malloc(sizeof(struct XdgAliasList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimealias.c:54:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:147:4: error: Common realloc mistake: '_caches' nulled but not freed upon failure [memleakOnRealloc] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:106:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:106:17: note: Assignment 'list=calloc(1,sizeof(struct XdgDirTimeList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:107:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:108:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:106:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:106:17: note: Assignment 'list=calloc(1,sizeof(struct XdgDirTimeList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:108:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:109:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:106:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:106:17: note: Assignment 'list=calloc(1,sizeof(struct XdgDirTimeList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:109:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:106:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:106:17: note: Assignment 'list=calloc(1,sizeof(struct XdgDirTimeList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:110:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:138:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:137:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:137:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/mime.cache")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:138:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:138:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:137:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:137:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/mime.cache")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:138:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:158:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:157:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:157:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs2")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:158:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:158:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:157:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:157:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs2")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:158:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:168:15: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:167:26: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:167:26: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:168:15: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:168:46: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:167:26: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:167:26: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:168:46: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:181:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:180:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:180:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/magic")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:181:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:181:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:180:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:180:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/magic")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:181:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:193:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:192:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:192:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/aliases")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:193:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:193:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:192:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:192:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/aliases")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:193:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:198:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:197:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:197:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/subclasses")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:198:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:198:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:197:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:197:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/subclasses")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:198:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:203:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:202:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:202:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/icons")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:203:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:203:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:202:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:202:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/icons")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:203:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:208:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:207:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:207:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/generic-icons")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:208:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:208:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:207:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:207:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/generic-icons")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:208:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:250:15: warning: If memory allocation fails, then there is a possible null pointer dereference: mime_subdir [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:249:28: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:249:28: note: Assignment 'mime_subdir=malloc(strlen(xdg_data_home)+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:250:15: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:251:15: warning: If memory allocation fails, then there is a possible null pointer dereference: mime_subdir [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:249:28: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:249:28: note: Assignment 'mime_subdir=malloc(strlen(xdg_data_home)+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:251:15: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:260:15: warning: If memory allocation fails, then there is a possible null pointer dereference: guessed_xdg_home [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:259:33: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:259:33: note: Assignment 'guessed_xdg_home=malloc(strlen(home)+strlen("/.local/share/mime/")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:260:15: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:261:15: warning: If memory allocation fails, then there is a possible null pointer dereference: guessed_xdg_home [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:259:33: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:259:33: note: Assignment 'guessed_xdg_home=malloc(strlen(home)+strlen("/.local/share/mime/")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:261:15: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:290:16: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:289:20: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:289:20: note: Assignment 'dir=malloc(len+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:290:16: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:291:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:289:20: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:289:20: note: Assignment 'dir=malloc(len+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:291:7: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:292:15: warning: If memory allocation fails, then there is a possible null pointer dereference: dir [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:289:20: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:289:20: note: Assignment 'dir=malloc(len+strlen("/mime/")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:292:15: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:405:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:404:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:404:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/mime.cache")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:405:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:405:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:404:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:404:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/mime.cache")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:405:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:420:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:419:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:419:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:420:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:420:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:419:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:419:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/globs")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:420:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:431:11: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:430:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:430:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/magic")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:431:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:431:42: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:430:22: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:430:22: note: Assignment 'file_name=malloc(strlen(directory)+strlen("/magic")+1)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:431:42: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:79:20: style: struct member 'XdgCallbackList::prev' is never used. [unusedStructMember] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:80:20: style: struct member 'XdgCallbackList::callback_id' is never used. [unusedStructMember] xarchiver-0.5.4.26/src/xdgmime/xdgmime.c:83:20: style: struct member 'XdgCallbackList::destroy' is never used. [unusedStructMember] xarchiver-0.5.4.26/src/xdgmime/xdgmimeicon.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimeicon.c:50:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimeicon.c:50:17: note: Assignment 'list=malloc(sizeof(struct XdgIconList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimeicon.c:52:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimeicon.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimeicon.c:50:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimeicon.c:50:17: note: Assignment 'list=malloc(sizeof(struct XdgIconList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimeicon.c:53:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimeint.c:54:22: style: Variable 'bytelength' is assigned a value that is never used. [unreadVariable] xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:163:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:199:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:242:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:290:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:315:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:174:4: error: Common realloc mistake: 'retval' nulled but not freed upon failure [memleakOnRealloc] xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:708:29: style: Variable 'matchlet' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:209:26: style: Variable 'number_string[pos]' is assigned a value that is never used. [unreadVariable] xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:379:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:377:18: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:377:18: note: Assignment 'lower=strdup(str)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:378:7: note: Assignment 'p=lower', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:379:11: note: Null pointer dereference xarchiver-0.5.4.26/src/mime.c:126:49: style: Condition 'strcmp(mime,"application/x-cd-image")==0' is always false [knownConditionTrueFalse] xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:389:19: style:inconclusive: Function '_xdg_glob_hash_lookup_file_name' argument 2 names different: declaration 'text' definition 'file_name'. [funcArgNamesDifferent] xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.h:43:25: note: Function '_xdg_glob_hash_lookup_file_name' argument 2 names different: declaration 'text' definition 'file_name'. xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:389:19: note: Function '_xdg_glob_hash_lookup_file_name' argument 2 names different: declaration 'text' definition 'file_name'. xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:393:16: style: Variable 'list' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:612:13: style: Variable 'mimetype' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:612:24: style: Variable 'glob' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:649:10: style: Variable 'flag' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.26/src/mime.c:140:49: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xarchiver-0.5.4.26/src/xdgmime/xdgmimeparent.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimeparent.c:52:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimeparent.c:52:17: note: Assignment 'list=malloc(sizeof(struct XdgParentList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimeparent.c:54:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimeparent.c:55:3: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimeparent.c:52:17: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimeparent.c:52:17: note: Assignment 'list=malloc(sizeof(struct XdgParentList))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimeparent.c:55:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:158:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:157:35: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:157:11: note: Assignment 'cache=(struct XdgMimeCache*)malloc(sizeof(struct XdgMimeCache))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:158:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:159:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:157:35: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:157:11: note: Assignment 'cache=(struct XdgMimeCache*)malloc(sizeof(struct XdgMimeCache))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:159:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:160:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:157:35: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:157:11: note: Assignment 'cache=(struct XdgMimeCache*)malloc(sizeof(struct XdgMimeCache))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:160:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:161:3: warning: If memory allocation fails, then there is a possible null pointer dereference: cache [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:157:35: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:157:11: note: Assignment 'cache=(struct XdgMimeCache*)malloc(sizeof(struct XdgMimeCache))', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:161:3: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:631:11: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:629:18: note: Assuming allocation function fails xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:629:18: note: Assignment 'lower=strdup(str)', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:630:7: note: Assignment 'p=lower', assigned value is 0 xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:631:11: note: Null pointer dereference xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:381:21: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:447:21: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] xarchiver-0.5.4.26/src/xdgmime/xdgmimecache.c:415:15: style: Variable 'weight' is assigned a value that is never used. [unreadVariable] diff: 2.18.0 xarchiver-0.5.4.26/src/7zip.c:117:41: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/7zip.c:160:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SEEK_CUR [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/7zip.c:290:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/7zip.c:293:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/7zip.c:45:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:107:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:122:9: 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 xarchiver-0.5.4.26/src/add_dialog.c:140:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:144:9: 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 xarchiver-0.5.4.26/src/add_dialog.c:156:9: 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 xarchiver-0.5.4.26/src/add_dialog.c:160:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:197:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:233:9: 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 xarchiver-0.5.4.26/src/add_dialog.c:259:9: 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 xarchiver-0.5.4.26/src/add_dialog.c:32:38: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'no_focus' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/add_dialog.c:191:2: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/add_dialog.c:32:38: note: Parameter 'widget' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:32:83: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'no_focus' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/add_dialog.c:191:2: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/add_dialog.c:32:83: note: Parameter 'user_data' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:373:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:478:5: error: Memory leak: items [memleak] 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:498:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:75:72: style: Parameter 'archive' can be declared as pointer to const. However it seems that 'fix_adjustment_value' is a callback function, if 'archive' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/add_dialog.c:338:3: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/add_dialog.c:75:72: note: Parameter 'archive' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/add_dialog.c:96:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/ar.c:40:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/ar.c:43:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/ar.c:45:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/ar.c:45:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/ar.c:64:24: portability: 'item[1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/ar.c:74:18: portability: 'item[1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/ar.c:74:31: portability: 'item[1]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:123:2: error: Memory pointed to by 'ioc' is freed twice. [doubleFree] xarchiver-0.5.4.26/src/archive.c:122:2: note: Memory pointed to by 'ioc' is freed twice. xarchiver-0.5.4.26/src/archive.c:123:2: note: Memory pointed to by 'ioc' is freed twice. 2.18.0 xarchiver-0.5.4.26/src/archive.c:134:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/archive.c:166:67: style: Parameter 'column_types' can be declared as const array [constParameter] 2.18.0 xarchiver-0.5.4.26/src/archive.c:217:72: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:231:20: portability: 'current_column' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:237:20: portability: 'current_column' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:272:110: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'xa_dir_sidebar_find_row' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/archive.c:899:64: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/archive.c:272:110: note: Parameter 'entry' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/archive.c:360:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/archive.h:233:18: note: Shadowed declaration xarchiver-0.5.4.26/src/archive.c:360:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/archive.c:404:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_DO_NOT_REAP_CHILD [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/archive.c:456:2: error: Memory leak: ioc [memleak] 2.18.0 xarchiver-0.5.4.26/src/archive.c:463:1: error: Memory leak: ioc [memleak] 2.18.0 xarchiver-0.5.4.26/src/archive.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/archive.c:523:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/archive.c:551:50: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:576:10: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] 2.18.0 xarchiver-0.5.4.26/src/archive.c:579:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/archive.c:608:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/archive.c:612:17: warning: Uninitialized variable: status [uninitvar] xarchiver-0.5.4.26/src/archive.c:606:36: note: Assuming condition is false xarchiver-0.5.4.26/src/archive.c:612:17: note: Uninitialized variable: status 2.18.0 xarchiver-0.5.4.26/src/archive.c:642:13: style: Variable 'page' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:692:22: portability: 'current_column' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:696:22: portability: 'current_column' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:78:2: error: Memory pointed to by 'ioc' is freed twice. [doubleFree] xarchiver-0.5.4.26/src/archive.c:77:2: note: Memory pointed to by 'ioc' is freed twice. xarchiver-0.5.4.26/src/archive.c:78:2: note: Memory pointed to by 'ioc' is freed twice. 2.18.0 xarchiver-0.5.4.26/src/archive.c:902:96: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/archive.c:90:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/arj.c:61:46: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/arj.c:90:16: style: Variable 'flags' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/arj.c:93:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/cpio.c:113:24: portability: 'item[2]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/cpio.c:244:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/cpio.c:36:40: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/cpio.c:72:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/cpio.c:74:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/cpio.c:77:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:1024:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:114:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:142:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:221:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/archive.h:233:18: note: Shadowed declaration xarchiver-0.5.4.26/src/extract_dialog.c:221:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:224:9: style: Variable '_filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:244:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:324:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:328:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:332:10: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:364:10: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:380:9: 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 xarchiver-0.5.4.26/src/extract_dialog.c:400:10: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:431:10: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:456:9: 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 xarchiver-0.5.4.26/src/extract_dialog.c:476:9: 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 xarchiver-0.5.4.26/src/extract_dialog.c:49:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:585:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:711:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:716:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:751:9: 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 xarchiver-0.5.4.26/src/extract_dialog.c:767:9: 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 xarchiver-0.5.4.26/src/extract_dialog.c:778:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:781:10: 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 xarchiver-0.5.4.26/src/extract_dialog.c:807:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:827:9: 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 xarchiver-0.5.4.26/src/extract_dialog.c:848:11: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/archive.h:233:18: note: Shadowed declaration xarchiver-0.5.4.26/src/extract_dialog.c:848:11: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:863:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:908:51: style: Variable 'message' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:908:61: style: Variable 'name' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:931:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/extract_dialog.c:935:3: error: Memory leak: output [memleak] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:183:57: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:266:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:270:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:385:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:480:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:481:9: style: Variable 'skipframes' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:484:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:576:9: style: Local variable 'filename' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/gzip_et_al.c:57:15: note: Shadowed declaration xarchiver-0.5.4.26/src/gzip_et_al.c:576:9: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:796:47: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:800:47: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:825:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:90:14: style: Redundant condition: The condition '*nl' is redundant since '*nl == ' '' is sufficient. [redundantCondition] 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:954:19: style: Local variable 'filename' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/gzip_et_al.c:57:15: note: Shadowed declaration xarchiver-0.5.4.26/src/gzip_et_al.c:954:19: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/gzip_et_al.c:983:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1142:10: 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 xarchiver-0.5.4.26/src/interface.c:1204:14: 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 xarchiver-0.5.4.26/src/interface.c:132:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1330:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_POLICY_AUTOMATIC [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1333:14: 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 xarchiver-0.5.4.26/src/interface.c:1406:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1420:12: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1425:12: 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 xarchiver-0.5.4.26/src/interface.c:1434:12: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1460:12: 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 xarchiver-0.5.4.26/src/interface.c:1503:99: style: Parameter 'string' can be declared as pointer to const. However it seems that 'select_matched_rows' is a callback function, if 'string' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/interface.c:593:46: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/interface.c:1503:99: note: Parameter 'string' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/interface.c:1540:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1675:189: style: Parameter 'output' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1707:51: style: Local variable 'total_label' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/interface.h:81:19: note: Shadowed declaration xarchiver-0.5.4.26/src/interface.c:1707:51: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/interface.c:1726:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1736:10: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1740:10: 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 xarchiver-0.5.4.26/src/interface.c:1752:10: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1803:59: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/interface.c:1815:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_ELLIPSIZE_END [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:273:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:371:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:389:77: style: Parameter 'event' can be declared as pointer to const. However it seems that 'xa_dir_sidebar_key_pressed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/interface.c:1177:2: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/interface.c:389:77: note: Parameter 'event' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/interface.c:399:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Left [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:527:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DIALOG [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:533:11: 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 xarchiver-0.5.4.26/src/interface.c:557:9: 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 xarchiver-0.5.4.26/src/interface.c:638:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/interface.c:680:49: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/interface.c:687:50: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/interface.c:715:48: style: Parameter 'button' can be declared as pointer to const. However it seems that 'xa_cancel_progress_bar' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/interface.c:1797:3: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/interface.c:715:48: note: Parameter 'button' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/interface.c:715:62: style: Parameter 'pid' can be declared as pointer to const. However it seems that 'xa_cancel_progress_bar' is a callback function, if 'pid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/interface.c:1797:3: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/interface.c:715:62: note: Parameter 'pid' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/interface.c:721:51: style: Parameter 'caller' can be declared as pointer to const. However it seems that 'xa_close_progress_bar' is a callback function, if 'caller' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/interface.c:1798:3: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/interface.c:721:51: note: Parameter 'caller' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/interface.c:721:69: style: Parameter 'event' can be declared as pointer to const. However it seems that 'xa_close_progress_bar' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/interface.c:1798:3: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/interface.c:721:69: note: Parameter 'event' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/interface.c:721:82: style: Parameter 'pid' can be declared as pointer to const. However it seems that 'xa_close_progress_bar' is a callback function, if 'pid' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/interface.c:1798:3: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/interface.c:721:82: note: Parameter 'pid' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/interface.c:741:33: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/interface.c:776:10: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/interface.c:803:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/lha.c:146:25: portability: 'item[3]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/lha.c:70:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/lha.c:72:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/main.c:1220:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/archive.h:233:18: note: Shadowed declaration xarchiver-0.5.4.26/src/main.c:1220:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/main.c:1235:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/main.c:1262:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_OK [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/main.c:1270:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/archive.h:233:18: note: Shadowed declaration xarchiver-0.5.4.26/src/main.c:1270:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/main.c:1293:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GETTEXT_PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/main.c:1510:12: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/main.c:166:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] head xarchiver-0.5.4.26/src/mime.c:140:49: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:127:41: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:127:57: style: Parameter 'archive_open' can be declared as const array [constParameter] 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:131:12: style: Local variable 'archive' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/archive.h:233:18: note: Shadowed declaration xarchiver-0.5.4.26/src/new_dialog.c:131:12: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:147:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_SAVE [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:180:9: 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 xarchiver-0.5.4.26/src/new_dialog.c:290:13: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:45:11: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:46:11: style: Variable 'glob' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:63:11: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/new_dialog.c:87:11: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:116:92: style: Parameter 'event' can be declared as pointer to const. However it seems that 'xa_open_with_dialog_mouse_button_event' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xarchiver-0.5.4.26/src/open-with-dlg.c:505:2: note: You might need to cast the function pointer here xarchiver-0.5.4.26/src/open-with-dlg.c:116:92: note: Parameter 'event' can be declared as pointer to const 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:142:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:166:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:260:11: style: Variable 'duplicate' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:270:9: style: Local variable 'app' shadows outer variable [shadowVariable] xarchiver-0.5.4.26/src/open-with-dlg.c:259:7: note: Shadowed declaration xarchiver-0.5.4.26/src/open-with-dlg.c:270:9: note: Shadow variable 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:328:17: style: Variable 'dirlist' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:376:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER_ON_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:384:10: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/open-with-dlg.c:387:10: 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 xarchiver-0.5.4.26/src/open-with-dlg.c:441:18: 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 xarchiver-0.5.4.26/src/open-with-dlg.c:72:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/pref_dialog.c:148:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/pref_dialog.c:156:9: 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 xarchiver-0.5.4.26/src/pref_dialog.c:215:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/pref_dialog.c:218:9: 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 xarchiver-0.5.4.26/src/pref_dialog.c:259:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/pref_dialog.c:262:9: 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 xarchiver-0.5.4.26/src/pref_dialog.c:297:9: style: gtk_vbox_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_VERTICAL 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_vbox_newCalled] 2.18.0 xarchiver-0.5.4.26/src/pref_dialog.c:438:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/pref_dialog.c:44:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/pref_dialog.c:545:2: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 xarchiver-0.5.4.26/src/pref_dialog.c:565:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/rar.c:173:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/rar.c:173:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/rar.c:303:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/rar.c:37:25: style: Variable 'id' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/rar.c:544:48: style: Variable 'version_switch' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/rpm.c:111:8: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] 2.18.0 xarchiver-0.5.4.26/src/rpm.c:52:34: style: Variable 'executable' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/rpm.c:57:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/squashfs.c:102:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/squashfs.c:102:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/squashfs.c:97:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:181:62: style: Parameter 'working_dir' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:183:9: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:235:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:322:17: style: Variable 'dirlist' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:325:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:366:17: style: Variable 'dirlist' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_DIR [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/string_utils.c:59:45: style: Variable 'v' is assigned a value that is never used. [unreadVariable] head xarchiver-0.5.4.26/src/support.h:45:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] head xarchiver-0.5.4.26/src/support.h:45:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GLIB_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 xarchiver-0.5.4.26/src/tar.c:136:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/tar.c:139:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/tar.c:139:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/tar.c:281:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 xarchiver-0.5.4.26/src/tar.c:61:59: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/unar.c:42:47: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/unar.c:62:20: style: Variable 'flags' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/unar.c:62:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/unar.c:66:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/unar.c:66:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/window.c:339:69: error: There is an unknown macro here somewhere. Configuration is required. If G_GUINT64_FORMAT is a macro then please configure it. [unknownMacro] head xarchiver-0.5.4.26/src/xdgmime/xdgmimeglob.c:393:16: style: Variable 'list' can be declared as pointer to const [constVariablePointer] head xarchiver-0.5.4.26/src/xdgmime/xdgmimemagic.c:708:29: style: Variable 'matchlet' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/zip.c:64:46: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] 2.18.0 xarchiver-0.5.4.26/src/zip.c:84:20: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/zip.c:84:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/zip.c:88:2: style: Variable '_len' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/zip.c:88:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/zpaq.c:104:11: portability: 'item[3]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] 2.18.0 xarchiver-0.5.4.26/src/zpaq.c:168:10: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/zpaq.c:294:10: style: Variable 'list' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/zpaq.c:50:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/zpaq.c:52:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] 2.18.0 xarchiver-0.5.4.26/src/zpaq.c:55:2: style: Variable 'peek' is not assigned a value. [unassignedVariable] 2.18.0 xarchiver-0.5.4.26/src/zpaq.c:93:10: portability: 'item[0]' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] DONE