2025-08-30 11:17 ftp://ftp.de.debian.org/debian/pool/main/e/emerald/emerald_0.8.18.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=cairo --library=gtk --library=motif --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.41+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: d9a054c (2025-08-30 13:09:31 +0200) count: 25 268 elapsed-time: 0.1 2.1 head-timing-info: old-timing-info: head results: emerald-0.8.18/engines/line.c:248:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/line.c:248:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/legacy.c:385:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/legacy.c:385:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/oxygen.c:453:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/oxygen.c:453:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/pixmap.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/pixmap.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/truglass.c:530:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/truglass.c:530:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/vrunner.c:584:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/vrunner.c:584:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/zootreeves.c:35:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/engines/zootreeves.c:35:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/libengine/emerald.c:76:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/libengine/emerald.c:76:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/libengine/themer.c:24:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/libengine/themer.c:24:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/src/engine_loader.c:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENGINE_DIR [valueFlowBailoutIncompleteVar] emerald-0.8.18/src/engine_loader.c:47:5: warning: Return value of function dlerror() is not used. [ignoredReturnValue] emerald-0.8.18/src/engine_loader.c:32:30: style: Parameter 'engine_name' can be declared as pointer to const [constParameterPointer] emerald-0.8.18/themer/main.c:12:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/themer/main.c:12:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/src/main.c:118:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] emerald-0.8.18/src/main.c:118:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] diff: 2.18.0 emerald-0.8.18/engines/legacy.c:110:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_STATE_MAXIMIZED_HORIZONTALLY [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/legacy.c:287:59: style: Parameter 'ws' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/legacy.c:292:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outer [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/legacy.c:330:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inner [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/legacy.c:371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] head emerald-0.8.18/engines/legacy.c:385:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/engines/legacy.c:385:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/engines/legacy.c:388: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 emerald-0.8.18/engines/legacy.c:406: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 emerald-0.8.18/engines/legacy.c:453: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 emerald-0.8.18/engines/legacy.c:68:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEGACY_ICON_HEIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/legacy.c:78:35: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/line.c:114:10: style: Variable 'bottom' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/line.c:173:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/line.c:215:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable border [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/line.c:229:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable border [valueFlowBailoutIncompleteVar] head emerald-0.8.18/engines/line.c:248:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/engines/line.c:248:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/engines/line.c:251: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 emerald-0.8.18/engines/line.c:284: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 emerald-0.8.18/engines/line.c:60:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LEGACY_ICON_HEIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/line.c:75:25: style: Variable 'height' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/line.c:88:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_SURFACE_TYPE_IMAGE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/line.c:91:13: style: Variable 'height' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/line.c:97:13: style: Variable 'height' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/oxygen.c:106:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_STATE_MAXIMIZED_HORIZONTALLY [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/oxygen.c:358:59: style: Parameter 'ws' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/oxygen.c:363:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/oxygen.c:400:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/oxygen.c:439:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] head emerald-0.8.18/engines/oxygen.c:453:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/engines/oxygen.c:453:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/engines/oxygen.c:456: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 emerald-0.8.18/engines/oxygen.c:474: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 emerald-0.8.18/engines/oxygen.c:519: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 emerald-0.8.18/engines/oxygen.c:64:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OXYGEN_ICON_HEIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/oxygen.c:74:35: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/pixmap.c:129:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIXMAP_ICON_HEIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/pixmap.c:156:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/pixmap.c:192:44: style: Parameter 'ws' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/pixmap.c:242:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_STATE_MAXIMIZED_HORIZONTALLY [valueFlowBailoutIncompleteVar] head emerald-0.8.18/engines/pixmap.c:33:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/engines/pixmap.c:33:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/engines/pixmap.c:436:11: style: Variable 'pre' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/engines/pixmap.c:438:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outer [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/pixmap.c:506:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inner [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/pixmap.c:532:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/pixmap.c:623:12: style: Variable 'pre' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/engines/pixmap.c:629:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/pixmap.c:710:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/truglass.c:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_STATE_MAXIMIZED_HORIZONTALLY [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/truglass.c:423:59: style: Parameter 'ws' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/truglass.c:428:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/truglass.c:471:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/truglass.c:516:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] head emerald-0.8.18/engines/truglass.c:530:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/engines/truglass.c:530:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/engines/truglass.c:533: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 emerald-0.8.18/engines/truglass.c:546: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 emerald-0.8.18/engines/truglass.c:564: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 emerald-0.8.18/engines/truglass.c:614: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 emerald-0.8.18/engines/truglass.c:72:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUGLASS_ICON_HEIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/truglass.c:83:35: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/vrunner.c:147:27: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/vrunner.c:171:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_OVER [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/vrunner.c:203:44: style: Parameter 'ws' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/engines/vrunner.c:259:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_STATE_MAXIMIZED_HORIZONTALLY [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/vrunner.c:272:12: style: Variable 'top_left' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/vrunner.c:274:13: style: Variable 'top_right' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/vrunner.c:461:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable title_left [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/vrunner.c:518:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable title_left [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/vrunner.c:570:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] head emerald-0.8.18/engines/vrunner.c:584:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/engines/vrunner.c:584:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/engines/vrunner.c:587: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 emerald-0.8.18/engines/vrunner.c:607: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 emerald-0.8.18/engines/vrunner.c:643:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FLOAT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/vrunner.c:726: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 emerald-0.8.18/engines/vrunner.c:82:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VRUNNER_ICON_HEIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1173:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable outer [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:119:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZOOTREEVES_ICON_HEIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1286:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inner [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1330:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FLOAT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1361:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1394:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1444:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1495:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1534:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_INT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1585:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:1653:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:184:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CORNER_TOPLEFT [valueFlowBailoutIncompleteVar] head emerald-0.8.18/engines/zootreeves.c:35:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/engines/zootreeves.c:35:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/engines/zootreeves.c:370:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CORNER_TOPLEFT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:478:8: style: Variable 'curve' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/zootreeves.c:577:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHADE_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:580:11: style: Variable 'w' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/zootreeves.c:584:46: style: Variable 'w' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/zootreeves.c:590:11: style: Variable 'h' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/zootreeves.c:594:46: style: Variable 'h' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/engines/zootreeves.c:690:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/engines/zootreeves.c:808:70: style:inconclusive: Boolean expression 'pfs->gradient_repeat_enabled==(!0)&&maximized==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] 2.18.0 emerald-0.8.18/engines/zootreeves.c:924:68: style:inconclusive: Boolean expression 'maximized==0&&pws->show_border_minimised==(!0)' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] 2.18.0 emerald-0.8.18/libengine/emerald.c:179:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CORNER_TOPLEFT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/emerald.c:225:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHADE_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/emerald.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/emerald.c:35:13: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 emerald-0.8.18/libengine/emerald.c:54:21: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 emerald-0.8.18/libengine/emerald.c:66:31: style: Parameter 'sect' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/libengine/emerald.c:66:45: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/libengine/emerald.c:66:58: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] head emerald-0.8.18/libengine/emerald.c:76:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/libengine/emerald.c:76:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/libengine/themer.c:1047:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENGINE_DIR [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/themer.c:110:53: style: Parameter 'basekey' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/libengine/themer.c:124:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_COLOR [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/themer.c:150:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_IMG_FILE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/themer.c:162:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SettingItem [valueFlowBailoutIncompleteVar] head emerald-0.8.18/libengine/themer.c:24:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/libengine/themer.c:24:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/libengine/themer.c:262:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_EXPAND [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/themer.c:323:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/themer.c:355:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/themer.c:360:9: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 emerald-0.8.18/libengine/themer.c:371:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_IMG_FILE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/themer.c:395:35: style: Parameter 'w' can be declared as pointer to const. However it seems that 'cb_apply_setting' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emerald-0.8.18/libengine/themer.c:214:13: note: You might need to cast the function pointer here emerald-0.8.18/libengine/themer.c:395:35: note: Parameter 'w' can be declared as pointer to const 2.18.0 emerald-0.8.18/libengine/themer.c:395:47: style: Parameter 'p' can be declared as pointer to const. However it seems that 'cb_apply_setting' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emerald-0.8.18/libengine/themer.c:214:13: note: You might need to cast the function pointer here emerald-0.8.18/libengine/themer.c:395:47: note: Parameter 'p' can be declared as pointer to const 2.18.0 emerald-0.8.18/libengine/themer.c:454:31: style: Local variable 'active_engine' shadows outer variable [shadowVariable] emerald-0.8.18/libengine/themer.c:72:9: note: Shadowed declaration emerald-0.8.18/libengine/themer.c:454:31: note: Shadow variable 2.18.0 emerald-0.8.18/libengine/themer.c:499:9: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 emerald-0.8.18/libengine/themer.c:575:42: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/libengine/themer.c:590:13: style: Variable 'nam' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/libengine/themer.c:639:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EngineMetaInfo [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/libengine/themer.c:673:21: error: Dereferencing 's' after it is deallocated / released [deallocuse] 2.18.0 emerald-0.8.18/libengine/themer.c:675:13: error: Memory pointed to by 's' is freed twice. [doubleFree] emerald-0.8.18/libengine/themer.c:668:11: note: Memory pointed to by 's' is freed twice. emerald-0.8.18/libengine/themer.c:675:13: note: Memory pointed to by 's' is freed twice. 2.18.0 emerald-0.8.18/libengine/themer.c:727:48: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/libengine/themer.c:747:45: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/libengine/themer.c:751:51: style: Parameter 's' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/libengine/themer.c:920:38: style: Parameter 'dlname' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/libengine/themer.c:932:38: style: Parameter 'd' can be declared as pointer to const. However it seems that 'engine_comp' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emerald-0.8.18/libengine/themer.c:943:39: note: You might need to cast the function pointer here emerald-0.8.18/libengine/themer.c:932:38: note: Parameter 'd' can be declared as pointer to const 2.18.0 emerald-0.8.18/libengine/themer.c:949:13: style: Variable 'err' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:1042:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FILL_RULE_EVEN_ODD [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1061:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FILL_RULE_EVEN_ODD [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_EVENT_WINDOW [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1140:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IN_EVENT_WINDOW [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1164:7: style: Redundant initialization for 'b'. The initialized value is overwritten before it is read. [redundantInitialization] emerald-0.8.18/src/main.c:1154:12: note: b is initialized emerald-0.8.18/src/main.c:1164:7: note: b is overwritten 2.18.0 emerald-0.8.18/src/main.c:1166:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable btbistate [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1172:22: style: Variable 'button_region' can be declared as pointer to const [constVariablePointer] head emerald-0.8.18/src/main.c:118:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/src/main.c:118:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/src/main.c:123:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1268:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1299:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1308:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1386:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_OVER [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:149:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_CONTENT_COLOR_ALPHA [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1532:22: style: Variable 'ws' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:1535:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1610:22: style: Variable 'ws' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:1619:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1661:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:166:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_SURFACE_TYPE_IMAGE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:176:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_SURFACE_TYPE_IMAGE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1794:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:1847:23: style: Variable 'button_region' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:202:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2107:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_QUADS_MAX [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2212:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2436:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2586:76: style: Parameter 'fs_act' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/src/main.c:2599:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_QUADS_MAX [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:260:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2767:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:277:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2798:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MWM_DECOR_ALL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2832:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TBT_CLOSE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2884:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:2900:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:291:44: style: Parameter 'ws' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/src/main.c:3000:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TBT_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:3045:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNCK_WINDOW_STATE_SHADED [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:3058:18: style: Variable 'event_window_actions' can be declared as const array [constVariable] 2.18.0 emerald-0.8.18/src/main.c:3155:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WRAP_CHAR [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:3174:22: style: Variable 'line' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:3175:22: style: Variable 'ws' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:3197:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:3296:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:3329:22: style: Variable 'ws' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:3441:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XSetWindowAttributes [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:3531:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWITCHER_TOP_EXTRA [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:3542:19: style: Variable 'line' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:3680:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:379:11: style: Variable 'newpos' can be declared as const array [constVariable] 2.18.0 emerald-0.8.18/src/main.c:3882:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decor_t [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:396:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos_t [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:3970:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4014:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:404:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAVITY_NORTH [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4168:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_POPUP [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4227:17: style: Parameter 'xevent' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/src/main.c:4237:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRESSED_EVENT_WINDOW [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4251:40: style: Parameter 'object' can be declared as pointer to const. However it seems that 'action_menu_unmap' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emerald-0.8.18/src/main.c:4304:5: note: You might need to cast the function pointer here emerald-0.8.18/src/main.c:4251:40: note: Parameter 'object' can be declared as pointer to const 2.18.0 emerald-0.8.18/src/main.c:4327:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4397:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_T_MAXIMIZE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4475:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4517:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MOVERESIZE_SIZE_TOPLEFT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4523:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MOVERESIZE_SIZE_TOP [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4529:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MOVERESIZE_SIZE_TOPRIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4535:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MOVERESIZE_SIZE_LEFT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4541:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4544:22: style: Variable 'ws' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:4552:15: style: Variable 'gtksettings' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:4655:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MOVERESIZE_SIZE_RIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4661:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MOVERESIZE_SIZE_BOTTOMLEFT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4667:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MOVERESIZE_SIZE_BOTTOM [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4673:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_MOVERESIZE_SIZE_BOTTOMRIGHT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4707:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXLONG [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:472:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAVITY_WEST [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4776:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4808:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONS_NONE [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:4864:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:5021:15: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:5061:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECOR_SELECTION_GIVE_UP [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:510:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAVITY_NORTH [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:5143:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFixed [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:5199:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decor_t [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:534:4: style: Variable 'q' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/src/main.c:5520:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b_types [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:556:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 emerald-0.8.18/src/main.c:556:3: style: Variable 'q' is assigned a value that is never used. [unreadVariable] 2.18.0 emerald-0.8.18/src/main.c:5618:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_CONTENT_COLOR_ALPHA [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:5710:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:572:22: style: Variable 'ws' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/src/main.c:574:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLUR_TYPE_ALL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:5932:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable window_settings [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:6129:9: style: Condition '!create_tooltip_window()' is always false [knownConditionTrueFalse] emerald-0.8.18/src/main.c:6129:31: note: Calling function 'create_tooltip_window' returns 1 emerald-0.8.18/src/main.c:6129:9: note: Condition '!create_tooltip_window()' is always false 2.18.0 emerald-0.8.18/src/main.c:640:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_QUADS_MAX [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:750:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SWITCHER_TOP_EXTRA [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/src/main.c:825:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRAVITY_NORTH [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:1016:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:1059:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_INT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:115:17: style: Variable 'elc' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/themer/main.c:1169:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILE_CHOOSER_ACTION_OPEN [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:1225:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_SFILE_BOOL [valueFlowBailoutIncompleteVar] head emerald-0.8.18/themer/main.c:12:0: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] head emerald-0.8.18/themer/main.c:12:2: error: failed to evaluate #if condition, undefined function-like macro invocation: GTK_CHECK_VERSION( ... ) [preprocessorErrorDirective] 2.18.0 emerald-0.8.18/themer/main.c:1389:17: style: Variable 'cols' can be declared as const array [constVariable] 2.18.0 emerald-0.8.18/themer/main.c:1422:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:1480:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:1672:44: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/themer/main.c:1680:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:1734:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:1745:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:1773:26: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] 2.18.0 emerald-0.8.18/themer/main.c:1774:26: error: Allocation with g_strdup_printf, g_mkdir_with_parents doesn't release it. [leakNoVarFunctionCall] 2.18.0 emerald-0.8.18/themer/main.c:249:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:265:37: style: Parameter 'thn' can be declared as pointer to const [constParameterPointer] 2.18.0 emerald-0.8.18/themer/main.c:289:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATA_DIR [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:305:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:30:17: style: struct member '_FetcherInfo::dialog' is never used. [unusedStructMember] 2.18.0 emerald-0.8.18/themer/main.c:318:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:31:17: style: struct member '_FetcherInfo::progbar' is never used. [unusedStructMember] 2.18.0 emerald-0.8.18/themer/main.c:330:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_DESTROY_WITH_PARENT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:348:33: style: Variable 'gt' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/themer/main.c:395:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATA_DIR [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:414:13: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 emerald-0.8.18/themer/main.c:437:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/themer/main.c:485:9: error: Memory leak: rstr [memleak] 2.18.0 emerald-0.8.18/themer/main.c:533:23: style: Variable 'mt' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/themer/main.c:533:28: style: Variable 'gt' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/themer/main.c:554:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable write_setting [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:560:13: error: Memory leak: f [memleak] 2.18.0 emerald-0.8.18/themer/main.c:560:13: error: Memory leak: fn [memleak] 2.18.0 emerald-0.8.18/themer/main.c:603:17: warning: Return value of function g_file_set_contents() is not used. [ignoredReturnValue] 2.18.0 emerald-0.8.18/themer/main.c:645:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:656:21: style: Variable 'ot' can be declared as pointer to const [constVariablePointer] 2.18.0 emerald-0.8.18/themer/main.c:683:41: style: Parameter 'w' can be declared as pointer to const. However it seems that 'cb_main_destroy' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emerald-0.8.18/themer/main.c:1795:5: note: You might need to cast the function pointer here emerald-0.8.18/themer/main.c:683:41: note: Parameter 'w' can be declared as pointer to const 2.18.0 emerald-0.8.18/themer/main.c:683:53: style: Parameter 'd' can be declared as pointer to const. However it seems that 'cb_main_destroy' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] emerald-0.8.18/themer/main.c:1795:5: note: You might need to cast the function pointer here emerald-0.8.18/themer/main.c:683:53: note: Parameter 'd' can be declared as pointer to const 2.18.0 emerald-0.8.18/themer/main.c:695:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b_names [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:745:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BOOL [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:801:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BX_COUNT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:838:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_COLOR [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:846:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_INT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:854:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FLOAT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:875:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_INT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:899:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_FONT [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:953:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_META_STRING [valueFlowBailoutIncompleteVar] 2.18.0 emerald-0.8.18/themer/main.c:963:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_CANCEL [valueFlowBailoutIncompleteVar] DONE