2024-03-27 04:03 ftp://ftp.de.debian.org/debian/pool/main/g/gadmin-samba/gadmin-samba_0.2.9.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.5.0-25-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 cppcheck: head 2.13.0 head-info: 2e06f02 (2024-03-26 23:13:15 +0100) count: 522 498 elapsed-time: 72.0 66.5 head-timing-info: old-timing-info: head results: gadmin-samba-0.2.9/src/activate_button_clicked.c:49:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/add_change_user.c:90:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PASS_LEN [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/add_change_user.c:242:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/add_change_user.c:134:17: style: Condition 'locked' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/add_change_user.c:122:9: note: Assuming that condition '!locked' is not redundant gadmin-samba-0.2.9/src/add_change_user.c:134:17: note: Condition 'locked' is always false gadmin-samba-0.2.9/src/add_change_user.c:161:21: style: Condition 'locked' is always true [knownConditionTrueFalse] gadmin-samba-0.2.9/src/add_change_user.c:150:32: note: Assuming that condition 'locked==1' is not redundant gadmin-samba-0.2.9/src/add_change_user.c:161:21: note: Condition 'locked' is always true gadmin-samba-0.2.9/src/add_change_user.c:183:18: style: Condition 'locked' is always true [knownConditionTrueFalse] gadmin-samba-0.2.9/src/add_change_user.c:208:19: style: Condition 'locked' is always true [knownConditionTrueFalse] gadmin-samba-0.2.9/src/add_change_user.c:142:2: error: Mismatching allocation and deallocation: fp [mismatchAllocDealloc] gadmin-samba-0.2.9/src/add_change_user.c:125:9: note: Mismatching allocation and deallocation: fp gadmin-samba-0.2.9/src/add_change_user.c:142:2: note: Mismatching allocation and deallocation: fp gadmin-samba-0.2.9/src/add_change_user.c:85:38: style: Variable 'password' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_change_user.c:231:27: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_change_user.c:232:27: style: Variable 'homedir' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_change_user.c:233:27: style: Variable 'shell' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_change_user.c:153:12: style: Variable 'fp' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/add_macct.c:58:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GADMIN_SAMBA_USERS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/add_macct.c:50:27: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_share.c:221:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeModelForeachFunc [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/add_share.c:65:13: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] gadmin-samba-0.2.9/src/add_share.c:61:16: note: outer condition: option1==NULL gadmin-samba-0.2.9/src/add_share.c:65:13: note: opposite inner condition: option1!=NULL gadmin-samba-0.2.9/src/add_share.c:76:13: style: Condition 'option1!=NULL' is always true [knownConditionTrueFalse] gadmin-samba-0.2.9/src/add_share.c:129:10: error: Memory leak: conf_line [memleak] gadmin-samba-0.2.9/src/add_share.c:135:10: error: Memory leak: conf_line [memleak] gadmin-samba-0.2.9/src/add_share.c:139:10: error: Memory leak: conf_line [memleak] gadmin-samba-0.2.9/src/add_share.c:150:10: error: Memory leak: conf_line [memleak] gadmin-samba-0.2.9/src/add_share.c:156:10: error: Memory leak: conf_line [memleak] gadmin-samba-0.2.9/src/add_share.c:160:10: error: Memory leak: conf_line [memleak] gadmin-samba-0.2.9/src/add_share.c:465:16: warning: Either the condition '(fp=popen(cmd,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/add_share.c:463:32: note: Assuming that condition '(fp=popen(cmd,"w"))==NULL' is not redundant gadmin-samba-0.2.9/src/add_share.c:465:16: note: Null pointer dereference gadmin-samba-0.2.9/src/add_share.c:473:16: warning: Either the condition '(fp=popen(cmd,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/add_share.c:471:32: note: Assuming that condition '(fp=popen(cmd,"w"))==NULL' is not redundant gadmin-samba-0.2.9/src/add_share.c:473:16: note: Null pointer dereference gadmin-samba-0.2.9/src/add_share.c:191:27: style: Variable 'share_name' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_share.c:192:27: style: Variable 'directory' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_share.c:193:27: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_share.c:194:27: style: Variable 'dir_mask' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_share.c:195:27: style: Variable 'create_mode' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_share.c:196:27: style: Variable 'force_user' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_share.c:197:27: style: Variable 'force_group' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_share.c:298:12: style: Variable 'sharedef' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/add_standard_users.c:89:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSCONFDIR [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/add_standard_users.c:41:27: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/apply_server_settings.c:106:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/apply_server_settings.c:1080:19: style: The if condition is the same as the previous if condition [duplicateCondition] gadmin-samba-0.2.9/src/apply_server_settings.c:282:19: note: First condition gadmin-samba-0.2.9/src/apply_server_settings.c:1080:19: note: Second condition gadmin-samba-0.2.9/src/apply_server_settings.c:57:27: style: Variable 'server_name' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:58:27: style: Variable 'server_comment' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:59:27: style: Variable 'domain_workgroup' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:60:27: style: Variable 'realm' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:61:27: style: Variable 'allowed_nets' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:62:27: style: Variable 'listen_nets' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:63:27: style: Variable 'announce_server_to' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:64:27: style: Variable 'retrieve_announce_from' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:65:27: style: Variable 'printcap_path' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:66:27: style: Variable 'guest_users' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:67:27: style: Variable 'samba_logfile' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:68:27: style: Variable 'samba_password_program' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:69:27: style: Variable 'new_pass_phrase' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:70:27: style: Variable 'samba_username_mapfile' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:71:27: style: Variable 'name_resolve_order' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:72:27: style: Variable 'socket_options' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:73:27: style: Variable 'wins_servers' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:74:27: style: Variable 'logon_drive' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:75:27: style: Variable 'logon_home' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:76:27: style: Variable 'logon_path' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:77:27: style: Variable 'logon_script' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:79:27: style: Variable 'add_user_script' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:80:27: style: Variable 'add_user_to_group_script' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:81:27: style: Variable 'add_group_script' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:82:27: style: Variable 'del_user_script' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:83:27: style: Variable 'del_user_from_group_script' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:84:27: style: Variable 'del_group_script' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:85:27: style: Variable 'add_machine_script' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:86:27: style: Variable 'winbind_separator' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:87:27: style: Variable 'idmap_uid' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:88:27: style: Variable 'idmap_gid' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:89:27: style: Variable 'template_shell' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:93:27: style: Variable 'max_log_file_size' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:94:27: style: Variable 'username_match_level' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:95:27: style: Variable 'password_match_level' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:96:27: style: Variable 'election_level' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:97:27: style: Variable 'password_chat_timeout' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:98:27: style: Variable 'machine_password_timeout' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_server_settings.c:99:27: style: Variable 'winbind_cache_timeout' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/apply_share_settings.c:69:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/apply_share_settings.c:73:9: error: Memory leak: share_name [memleak] gadmin-samba-0.2.9/src/change_macct.c:45:27: style: Variable 'username' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/change_macct.c:46:27: style: Variable 'comment' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/chars_are_digits.c:23:24: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/commands.c:91:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSINIT_START_CMD [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/commands.c:113:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSINIT_STOP_CMD [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/commands.c:169:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDBEDIT_BINARY [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/commands.c:208:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDBEDIT_BINARY [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/commands.c:235:5: error: Resource leak: fp [resourceLeak] gadmin-samba-0.2.9/src/commands.c:235:5: error: Memory leak: cmd [memleak] gadmin-samba-0.2.9/src/commands.c:130:23: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/commands.c:163:34: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/commands.c:202:41: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/commented.c:28:21: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/create_conf_tab.c:60:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_conf_tab.c:44:26: 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] gadmin-samba-0.2.9/src/create_conf_tab.c:71:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_conf_tab.c:40:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_conf_tab.c:71:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_conn_tab.c:50:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeSelectionForeachFunc [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_conn_tab.c:107:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SELECTION_MULTIPLE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_conn_tab.c:90:26: 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] gadmin-samba-0.2.9/src/create_conn_tab.c:156:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_conn_tab.c:84:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_conn_tab.c:156:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_del_system_user_question.c:43:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_del_system_user_question.c:47: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] gadmin-samba-0.2.9/src/create_del_system_user_question.c:54:13: 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] gadmin-samba-0.2.9/src/create_del_system_user_question.c:92:13: 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] gadmin-samba-0.2.9/src/create_del_system_user_question.c:109:13: 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] gadmin-samba-0.2.9/src/create_del_system_user_question.c:40:25: style: Variable 'username' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_disc_tab.c:89:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_disc_tab.c:47:26: 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] gadmin-samba-0.2.9/src/create_disc_tab.c:98:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_disc_tab.c:41:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_disc_tab.c:98:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_disc_tab.c:43:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_disc_tab.c:44:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_import_question.c:153:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_import_question.c:165:21: 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] gadmin-samba-0.2.9/src/create_import_question.c:288:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_import_question.c:149:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_import_question.c:288:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_import_question.c:148:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_import_question.c:168:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_import_selection.c:101:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_import_selection.c:123:19: 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] gadmin-samba-0.2.9/src/create_import_selection.c:171:13: 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] gadmin-samba-0.2.9/src/create_import_selection.c:190:13: 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] gadmin-samba-0.2.9/src/create_import_selection.c:112:7: error: Memory leak: import_msg [memleak] gadmin-samba-0.2.9/src/create_import_selection.c:115:7: error: Memory leak: import_msg [memleak] gadmin-samba-0.2.9/src/create_import_selection.c:94:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_macct_settings.c:58:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STOCK_DELETE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_macct_settings.c:91:18: style: Variable 'ent' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_macct_tab.c:52:27: 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] gadmin-samba-0.2.9/src/create_macct_tab.c:94:36: 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] gadmin-samba-0.2.9/src/create_macct_tab.c:106:36: 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] gadmin-samba-0.2.9/src/create_macct_tab.c:123:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_macct_tab.c:45:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_macct_tab.c:123:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_macct_tab.c:47:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_macct_tab.c:48:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_main_window.c:43:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_main_window.c:64:26: 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] gadmin-samba-0.2.9/src/create_main_window.c:68:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:71:30: 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] gadmin-samba-0.2.9/src/create_main_window.c:74:35: 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] gadmin-samba-0.2.9/src/create_main_window.c:77:32: 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] gadmin-samba-0.2.9/src/create_main_window.c:170:32: 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] gadmin-samba-0.2.9/src/create_main_window.c:173:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:174:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:175:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:176:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:177:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:178:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:179:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:180:31: 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] gadmin-samba-0.2.9/src/create_main_window.c:181:31: 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] gadmin-samba-0.2.9/src/create_security_tab.c:75:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_security_tab.c:47:30: 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] gadmin-samba-0.2.9/src/create_security_tab.c:89:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_security_tab.c:41:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_security_tab.c:89:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_security_tab.c:43:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_security_tab.c:44:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_server_settings.c:59:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STOCK_APPLY [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_server_settings.c:148:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:149:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:195:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:196:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:216:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:217:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:227:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:228:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:243:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:244:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:254:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:255:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:265:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:266:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:281:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:282:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:312:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:313:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:328:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:329:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:344:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:345:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:355:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:356:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:366:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:367:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:377:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:378:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:388:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:389:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:399:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:400:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:410:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:411:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:421:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:422:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:432:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:433:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:443:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:444:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:454:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:455:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:465:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:466:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:476:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:477:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:487:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:488:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:498:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:499:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:509:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:510:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:520:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:521:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:531:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:532:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:547:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:548:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:643:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:644:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:664:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:665:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:675:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:676:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:686:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:687:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:697:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:698:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:708:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:709:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_server_settings.c:652:18: style: Variable 'ent' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_server_settings.c:657:19: style: Variable 'spin' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_server_settings.c:712:19: style: Variable 'comb' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_server_tab.c:46:30: 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] gadmin-samba-0.2.9/src/create_server_tab.c:59:37: 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] gadmin-samba-0.2.9/src/create_server_tab.c:85:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_server_tab.c:38:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_server_tab.c:85:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_server_tab.c:40:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_server_tab.c:41:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_share_settings.c:54:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_share_settings.c:246:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STOCK_DELETE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_share_settings.c:243: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] gadmin-samba-0.2.9/src/create_share_settings.c:253:22: 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] gadmin-samba-0.2.9/src/create_share_settings.c:350:25: 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] gadmin-samba-0.2.9/src/create_share_settings.c:351:25: 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] gadmin-samba-0.2.9/src/create_share_settings.c:479:23: 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] gadmin-samba-0.2.9/src/create_share_settings.c:494:23: 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] gadmin-samba-0.2.9/src/create_share_settings.c:544:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:545:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:555:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:556:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:566:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:567:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:577:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:578:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:588:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:589:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:599:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:600:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:610:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:611:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:633:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:634:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:644:5: error: Memory leak: combo_text [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:645:5: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/create_share_settings.c:136:21: style: Variable 'edited' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_share_settings.c:146:9: style: Variable 'edited' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_share_settings.c:159:9: style: Variable 'edited' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_share_settings.c:172:9: style: Variable 'edited' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_share_settings.c:185:9: style: Variable 'edited' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_share_settings.c:537:18: style: Variable 'ent' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_share_settings.c:648:19: style: Variable 'comb' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_share_tab.c:49:27: 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] gadmin-samba-0.2.9/src/create_share_tab.c:85:36: 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] gadmin-samba-0.2.9/src/create_share_tab.c:97:36: 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] gadmin-samba-0.2.9/src/create_share_tab.c:112:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_share_tab.c:43:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_share_tab.c:112:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_share_tab.c:45:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_share_tab.c:46:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_user_settings.c:84:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STOCK_DELETE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/create_user_settings.c:89:21: 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] gadmin-samba-0.2.9/src/create_user_settings.c:107:10: style: Variable 'check' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_user_settings.c:186:18: style: Variable 'ent' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_user_settings.c:193:19: style: Variable 'comb' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/create_user_tab.c:48:26: 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] gadmin-samba-0.2.9/src/create_user_tab.c:89:35: 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] gadmin-samba-0.2.9/src/create_user_tab.c:101:35: 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] gadmin-samba-0.2.9/src/create_user_tab.c:115:14: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/create_user_tab.c:41:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/create_user_tab.c:115:14: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/create_user_tab.c:43:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/create_user_tab.c:44:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/credits_window.c:38:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/credits_window.c:43:20: 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] gadmin-samba-0.2.9/src/credits_window.c:169: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] gadmin-samba-0.2.9/src/deactivate_button_clicked.c:54:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WINBINDD_BINARY [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/delete_macct.c:59:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDBEDIT_BINARY [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/delete_macct.c:51:27: style: Variable 'username' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/delete_share.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/delete_user.c:86:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/delete_user.c:132:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gadmin-samba-0.2.9/src/delete_user.c:148:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] gadmin-samba-0.2.9/src/delete_user.c:123:29: warning: Logical disjunction always evaluates to true: user_line[i] != '\r' || user_line[i] != '\n'. [incorrectLogicOperator] gadmin-samba-0.2.9/src/delete_user.c:296:6: error: Memory leak: username [memleak] gadmin-samba-0.2.9/src/delete_user.c:304:6: error: Memory leak: username [memleak] gadmin-samba-0.2.9/src/delete_user.c:65:52: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/file_chooser.c:73:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/file_chooser.c:28:18: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/file_chooser.c:44:15: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/file_chooser.c:60:15: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/functions.c:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:210:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:285:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GADMIN_SAMBA_USERS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:337:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GADMIN_SAMBA_USERS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:421:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASSWD_FILE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:508:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GROUP_FILE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:599:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GROUP_FILE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:710:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASSWD_FILE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:946:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:1067:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PASS_LEN [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:1160:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PASS_LEN [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/functions.c:907:12: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] gadmin-samba-0.2.9/src/functions.c:1243:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gadmin-samba-0.2.9/src/functions.c:1276:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gadmin-samba-0.2.9/src/functions.c:1249:6: style: Condition 'upper_case' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/functions.c:1204:22: note: Assignment 'upper_case=0', assigned value is 0 gadmin-samba-0.2.9/src/functions.c:1249:6: note: Condition 'upper_case' is always false gadmin-samba-0.2.9/src/functions.c:1260:6: style: Condition '!upper_case' is always true [knownConditionTrueFalse] gadmin-samba-0.2.9/src/functions.c:1204:22: note: Assignment 'upper_case=0', assigned value is 0 gadmin-samba-0.2.9/src/functions.c:1260:6: note: Condition '!upper_case' is always true gadmin-samba-0.2.9/src/functions.c:112:2: error: Memory leak: option1 [memleak] gadmin-samba-0.2.9/src/functions.c:112:2: error: Memory leak: option2 [memleak] gadmin-samba-0.2.9/src/functions.c:118:2: error: Memory leak: option1 [memleak] gadmin-samba-0.2.9/src/functions.c:118:2: error: Memory leak: option2 [memleak] gadmin-samba-0.2.9/src/functions.c:106:38: warning: Either the condition 'option==NULL' is redundant or there is possible null pointer dereference: option. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/functions.c:109:15: note: Assuming that condition 'option==NULL' is not redundant gadmin-samba-0.2.9/src/functions.c:106:38: note: Null pointer dereference gadmin-samba-0.2.9/src/functions.c:107:39: warning: Either the condition 'option==NULL' is redundant or there is possible null pointer dereference: option. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/functions.c:109:15: note: Assuming that condition 'option==NULL' is not redundant gadmin-samba-0.2.9/src/functions.c:107:39: note: Null pointer dereference gadmin-samba-0.2.9/src/functions.c:198:38: warning: Either the condition 'option==NULL' is redundant or there is possible null pointer dereference: option. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/functions.c:202:15: note: Assuming that condition 'option==NULL' is not redundant gadmin-samba-0.2.9/src/functions.c:198:38: note: Null pointer dereference gadmin-samba-0.2.9/src/functions.c:199:39: warning: Either the condition 'option==NULL' is redundant or there is possible null pointer dereference: option. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/functions.c:202:15: note: Assuming that condition 'option==NULL' is not redundant gadmin-samba-0.2.9/src/functions.c:199:39: note: Null pointer dereference gadmin-samba-0.2.9/src/functions.c:341:11: warning: Either the condition '(fp=fopen(GADMIN_SAMBA_USERS,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/functions.c:337:42: note: Assuming that condition '(fp=fopen(GADMIN_SAMBA_USERS,"r"))==NULL' is not redundant gadmin-samba-0.2.9/src/functions.c:341:11: note: Null pointer dereference gadmin-samba-0.2.9/src/functions.c:342:23: warning: Either the condition '(fp=fopen(GADMIN_SAMBA_USERS,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/functions.c:337:42: note: Assuming that condition '(fp=fopen(GADMIN_SAMBA_USERS,"r"))==NULL' is not redundant gadmin-samba-0.2.9/src/functions.c:342:23: note: Null pointer dereference gadmin-samba-0.2.9/src/functions.c:343:12: warning: Either the condition '(fp=fopen(GADMIN_SAMBA_USERS,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/functions.c:337:42: note: Assuming that condition '(fp=fopen(GADMIN_SAMBA_USERS,"r"))==NULL' is not redundant gadmin-samba-0.2.9/src/functions.c:343:12: note: Null pointer dereference gadmin-samba-0.2.9/src/functions.c:498:36: style:inconclusive: Function 'group_exists' argument 1 names different: declaration 'username' definition 'groupname'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/functions.h:53:40: note: Function 'group_exists' argument 1 names different: declaration 'username' definition 'groupname'. gadmin-samba-0.2.9/src/functions.c:498:36: note: Function 'group_exists' argument 1 names different: declaration 'username' definition 'groupname'. gadmin-samba-0.2.9/src/functions.c:277:12: style: Local variable 'user_exists' shadows outer function [shadowFunction] gadmin-samba-0.2.9/src/functions.h:51:5: note: Shadowed declaration gadmin-samba-0.2.9/src/functions.c:277:12: note: Shadow variable gadmin-samba-0.2.9/src/functions.c:331:12: style: Local variable 'user_exists' shadows outer function [shadowFunction] gadmin-samba-0.2.9/src/functions.h:51:5: note: Shadowed declaration gadmin-samba-0.2.9/src/functions.c:331:12: note: Shadow variable gadmin-samba-0.2.9/src/functions.c:53:24: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:53:35: style: Parameter 'cmpstring' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:95:25: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:189:28: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:271:38: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:324:38: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:411:35: style: Parameter 'username' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:498:36: style: Parameter 'groupname' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:583:30: style: Parameter 'groupnr' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:684:32: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:800:23: style: Variable 'encrypted_pass' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/functions.c:871:46: style: Parameter 'password' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:879:11: style: Variable 'arr' can be declared as const array [constVariable] gadmin-samba-0.2.9/src/functions.c:911:28: style: Parameter 'directory' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:911:44: style: Parameter 'perm' can be declared as const array [constParameter] gadmin-samba-0.2.9/src/functions.c:923:29: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/functions.c:923:40: style: Parameter 'perm' can be declared as const array [constParameter] gadmin-samba-0.2.9/src/functions.c:588:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/functions.c:690:10: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/functions.c:690:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/functions.c:874:19: style: Variable 'where' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/functions.c:1272:11: style: Variable 'where' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/gadmin_samba.c:109:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/gadmin_samba.c:123:10: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] gadmin-samba-0.2.9/src/gadmin_samba.c:123:23: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] gadmin-samba-0.2.9/src/gadmin_samba.c:101:10: style: Local variable 'widgets' shadows outer variable [shadowVariable] gadmin-samba-0.2.9/src/create_main_window.h:24:18: note: Shadowed declaration gadmin-samba-0.2.9/src/gadmin_samba.c:101:10: note: Shadow variable gadmin-samba-0.2.9/src/gadmin_samba.c:90:11: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/get_option_pos.c:47:20: style: The if condition is the same as the previous if condition [duplicateCondition] gadmin-samba-0.2.9/src/get_option_pos.c:34:20: note: First condition gadmin-samba-0.2.9/src/get_option_pos.c:47:20: note: Second condition gadmin-samba-0.2.9/src/get_option_pos.c:29:26: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/import_functions.c:214:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCALSTATEDIR [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/import_functions.c:260:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeSelectionForeachFunc [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/import_functions.c:67:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/import_functions.c:121:10: error: Uninitialized variable: name [legacyUninitvar] gadmin-samba-0.2.9/src/load_settings.c:45:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APPCONFDIR [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/macct_treeview_row_clicked.c:43:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_buttons.c:48:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_buttons.c:46:23: 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] gadmin-samba-0.2.9/src/make_settings_combos.c:40:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_combos.c:68:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_combos.c:161:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_combos.c:94: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] gadmin-samba-0.2.9/src/make_settings_combos.c:129: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] gadmin-samba-0.2.9/src/make_settings_combos.c:32:39: style:inconclusive: Function 'make_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_combos.h:31:11: note: Function 'make_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:32:39: note: Function 'make_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:60:39: style:inconclusive: Function 'make_short_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_combos.h:39:11: note: Function 'make_short_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:60:39: note: Function 'make_short_combo_with_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:88:39: style:inconclusive: Function 'make_label_combo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_combos.h:47:11: note: Function 'make_label_combo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:88:39: note: Function 'make_label_combo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:123:39: style:inconclusive: Function 'make_label_textcombo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_combos.h:56:11: note: Function 'make_label_textcombo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:123:39: note: Function 'make_label_textcombo_label' argument 7 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:156:39: style:inconclusive: Function 'make_combo' argument 6 names different: declaration 'entry_length' definition 'combo_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_combos.h:64:11: note: Function 'make_combo' argument 6 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_combos.c:156:39: note: Function 'make_combo' argument 6 names different: declaration 'entry_length' definition 'combo_length'. gadmin-samba-0.2.9/src/make_settings_entries.c:40:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_entries.c:67:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_progressbars.c:40:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_progressbars.c:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STOCK_APPLY [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:45:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:82:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:117:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:143:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:77: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] gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:32:39: style:inconclusive: Function 'make_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_spinbuttons.h:31:11: note: Function 'make_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:32:39: note: Function 'make_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:63:39: style:inconclusive: Function 'make_padded_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_spinbuttons.h:39:11: note: Function 'make_padded_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:63:39: note: Function 'make_padded_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:104:39: style:inconclusive: Function 'make_short_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_spinbuttons.h:47:11: note: Function 'make_short_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:104:39: note: Function 'make_short_spinbutton_with_label' argument 7 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:134:39: style:inconclusive: Function 'make_spinbutton' argument 6 names different: declaration 'entry_length' definition 'spinbutton_length'. [funcArgNamesDifferent] gadmin-samba-0.2.9/src/make_settings_spinbuttons.h:54:11: note: Function 'make_spinbutton' argument 6 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:134:39: note: Function 'make_spinbutton' argument 6 names different: declaration 'entry_length' definition 'spinbutton_length'. gadmin-samba-0.2.9/src/populate_conf_tab.c:45:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/populate_conf_tab.c:66:60: warning:inconclusive: Either the condition 'utf8!=NULL' is redundant or there is possible null pointer dereference: utf8. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/populate_conf_tab.c:71:13: note: Assuming that condition 'utf8!=NULL' is not redundant gadmin-samba-0.2.9/src/populate_conf_tab.c:66:60: note: Null pointer dereference gadmin-samba-0.2.9/src/populate_conns.c:65:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/populate_conns.c:65:5: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] gadmin-samba-0.2.9/src/populate_conns.c:159:2: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gadmin-samba-0.2.9/src/populate_conns.c:210:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gadmin-samba-0.2.9/src/populate_disc_tab.c:67:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gadmin-samba-0.2.9/src/populate_macct_settings.c:70:13: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/populate_macct_settings.c:43:17: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/populate_macct_settings.c:70:13: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/populate_macct_settings.c:44:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/populate_maccts.c:60:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GADMIN_SAMBA_USERS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/populate_server_settings.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/populate_share_settings.c:67:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/populate_shares.c:62:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/populate_shell_combo.c:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHELLS_FILE [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/populate_shell_combo.c:58:2: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/populate_shell_combo.c:40:21: style: Variable 'shell_found' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/populate_shell_combo.c:73:18: style: Variable 'shell_found' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/populate_user_settings.c:81:40: warning:inconclusive: Either the condition 'atext!=NULL' is redundant or there is possible null pointer dereference: atext. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/populate_user_settings.c:83:11: note: Assuming that condition 'atext!=NULL' is not redundant gadmin-samba-0.2.9/src/populate_user_settings.c:81:40: note: Null pointer dereference gadmin-samba-0.2.9/src/populate_user_settings.c:93:40: warning:inconclusive: Either the condition 'atext!=NULL' is redundant or there is possible null pointer dereference: atext. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/populate_user_settings.c:95:11: note: Assuming that condition 'atext!=NULL' is not redundant gadmin-samba-0.2.9/src/populate_user_settings.c:93:40: note: Null pointer dereference gadmin-samba-0.2.9/src/populate_user_settings.c:106:40: warning:inconclusive: Either the condition 'atext!=NULL' is redundant or there is possible null pointer dereference: atext. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/populate_user_settings.c:108:11: note: Assuming that condition 'atext!=NULL' is not redundant gadmin-samba-0.2.9/src/populate_user_settings.c:106:40: note: Null pointer dereference gadmin-samba-0.2.9/src/populate_user_settings.c:117:40: warning:inconclusive: Either the condition 'atext!=NULL' is redundant or there is possible null pointer dereference: atext. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/populate_user_settings.c:119:11: note: Assuming that condition 'atext!=NULL' is not redundant gadmin-samba-0.2.9/src/populate_user_settings.c:117:40: note: Null pointer dereference gadmin-samba-0.2.9/src/populate_user_settings.c:42:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/populate_users.c:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GADMIN_SAMBA_USERS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/reread_conf.c:45:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMBD_BINARY [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/save_conf_tab.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/save_conf_tab.c:65:13: style: Condition 'utf8!=NULL' is always false [knownConditionTrueFalse] gadmin-samba-0.2.9/src/save_conf_tab.c:43:19: note: Assignment 'utf8=NULL', assigned value is 0 gadmin-samba-0.2.9/src/save_conf_tab.c:50:36: note: Assuming condition is false gadmin-samba-0.2.9/src/save_conf_tab.c:65:13: note: Condition 'utf8!=NULL' is always false gadmin-samba-0.2.9/src/save_conf_tab.c:54:11: warning: Either the condition 'conf!=NULL' is redundant or there is possible null pointer dereference: conf. [nullPointerRedundantCheck] gadmin-samba-0.2.9/src/save_conf_tab.c:62:13: note: Assuming that condition 'conf!=NULL' is not redundant gadmin-samba-0.2.9/src/save_conf_tab.c:54:11: note: Null pointer dereference gadmin-samba-0.2.9/src/save_settings.c:46:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable APPCONFDIR [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/save_settings.c:43:27: style: Variable 'set_smb_conf' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/set_version.c:47:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SMBD_BINARY [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/settings_window.c:54:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/settings_window.c:66:21: 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] gadmin-samba-0.2.9/src/settings_window.c:50:18: style: Variable 'tooltips' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/settings_window.c:70:14: style: Variable 'tooltips' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/share_treeview_row_clicked.c:44:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/show_help.c:37:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/show_help.c:43: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] gadmin-samba-0.2.9/src/show_help.c:141: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] gadmin-samba-0.2.9/src/show_info.c:59:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/show_info.c:68:17: 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] gadmin-samba-0.2.9/src/show_info.c:31:27: style: Parameter 'content' can be declared as pointer to const. However it seems that 'info_set_exit' is a callback function, if 'content' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gadmin-samba-0.2.9/src/show_info.c:97:2: note: You might need to cast the function pointer here gadmin-samba-0.2.9/src/show_info.c:31:27: note: Parameter 'content' can be declared as pointer to const gadmin-samba-0.2.9/src/standard_conf.c:81:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/standard_conf.c:121:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF_BACKUP [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/standard_conf.c:152:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/standard_conf.c:501:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/standard_conf.c:506:14: 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] gadmin-samba-0.2.9/src/standard_conf.c:552: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] gadmin-samba-0.2.9/src/standard_conf.c:569: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] gadmin-samba-0.2.9/src/standard_conf.c:39:20: style: Parameter 'file_path' can be declared as pointer to const [constParameterPointer] gadmin-samba-0.2.9/src/status_update.c:58:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_PATH [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/status_update.c:143:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/status_update.c:145:2: error: Memory leak: utf8 [memleak] gadmin-samba-0.2.9/src/status_update.c:45:29: style: Parameter 'process' can be declared as const array [constParameter] gadmin-samba-0.2.9/src/status_update.c:50:10: style: Variable 'x' is assigned a value that is never used. [unreadVariable] gadmin-samba-0.2.9/src/support.c:102:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/support.c:157:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/support.c:95:10: style: Variable 'elem' can be declared as pointer to const [constVariablePointer] gadmin-samba-0.2.9/src/user_treeview_row_clicked.c:43:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS [valueFlowBailoutIncompleteVar] gadmin-samba-0.2.9/src/widgets.c:48:14: style: struct member 'w::main_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:49:14: style: struct member 'w::main_vbox' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:51:14: style: struct member 'w::notebook_vbox1' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:52:14: style: struct member 'w::notebook_vbox2' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:53:14: style: struct member 'w::notebook_vbox3' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:54:14: style: struct member 'w::notebook_vbox4' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:55:14: style: struct member 'w::notebook_vbox5' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:56:14: style: struct member 'w::notebook_vbox6' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:57:14: style: struct member 'w::notebook_vbox7' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:58:14: style: struct member 'w::notebook_vbox8' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:59:14: style: struct member 'w::notebook_vbox9' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:61:14: style: struct member 'w::status_label' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:62:14: style: struct member 'w::version_label' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:65:14: style: struct member 'w::server_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:66:17: style: struct member 'w::server_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:67:14: style: struct member 'w::server_settings_vbox' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:68:14: style: struct member 'w::server_settings_scrolled_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:73:14: style: struct member 'w::srv_set_table' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:76:14: style: struct member 'w::user_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:77:17: style: struct member 'w::user_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:78:14: style: struct member 'w::user_settings_vbox' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:79:14: style: struct member 'w::user_settings_scrolled_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:85:14: style: struct member 'w::gen_cert_progressbar' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:86:14: style: struct member 'w::usr_set_table' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:87:14: style: struct member 'w::acclock_label' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:90:14: style: struct member 'w::useradd_username_entry' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:91:14: style: struct member 'w::useradd_group_entry' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:92:14: style: struct member 'w::useradd_password_entry' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:93:14: style: struct member 'w::useradd_homedir_entry' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:94:14: style: struct member 'w::useradd_comment_entry' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:95:14: style: struct member 'w::useradd_shell_combo' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:98:14: style: struct member 'w::directory_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:99:17: style: struct member 'w::directory_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:102:14: style: struct member 'w::share_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:103:17: style: struct member 'w::share_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:104:14: style: struct member 'w::share_settings_vbox' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:105:14: style: struct member 'w::share_settings_scrolled_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:112:14: style: struct member 'w::share_set_table' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:114:14: style: struct member 'w::valid_users_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:115:17: style: struct member 'w::valid_users_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:116:14: style: struct member 'w::invalid_users_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:117:17: style: struct member 'w::invalid_users_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:118:14: style: struct member 'w::write_users_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:119:17: style: struct member 'w::write_users_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:120:14: style: struct member 'w::admin_users_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:121:17: style: struct member 'w::admin_users_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:124:14: style: struct member 'w::del_system_user_question_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:127:14: style: struct member 'w::default_conf_question_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:130:14: style: struct member 'w::macct_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:131:17: style: struct member 'w::macct_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:132:14: style: struct member 'w::macct_settings_vbox' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:133:14: style: struct member 'w::macct_settings_scrolled_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:134:14: style: struct member 'w::macct_set_table' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:138:14: style: struct member 'w::conns_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:139:17: style: struct member 'w::conns_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:142:14: style: struct member 'w::disc_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:143:17: style: struct member 'w::disc_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:146:14: style: struct member 'w::file_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:147:17: style: struct member 'w::file_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:150:14: style: struct member 'w::security_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:151:17: style: struct member 'w::security_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:154:14: style: struct member 'w::conf_textview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:157:14: style: struct member 'w::import_question_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:159:14: style: struct member 'w::import_chkbtn_local' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:160:14: style: struct member 'w::import_chkbtn_remote' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:162:14: style: struct member 'w::import_chkbtn_users' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:163:14: style: struct member 'w::import_chkbtn_groups' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:165:14: style: struct member 'w::import_chkbtn_valid' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:166:14: style: struct member 'w::import_chkbtn_invalid' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:167:14: style: struct member 'w::import_chkbtn_write' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:168:14: style: struct member 'w::import_chkbtn_admin' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:171:14: style: struct member 'w::import_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:172:14: style: struct member 'w::import_treeview' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:173:17: style: struct member 'w::import_store' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:176:14: style: struct member 'w::settings_window' is never used. [unusedStructMember] gadmin-samba-0.2.9/src/widgets.c:180:14: style: struct member 'w::add_configuration_window' is never used. [unusedStructMember] diff: head gadmin-samba-0.2.9/src/add_change_user.c:242:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/add_change_user.c:56:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/add_change_user.c:90:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PASS_LEN [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/add_share.c:171:16: style: Condition 'option1!=NULL' is always true [knownConditionTrueFalse] head gadmin-samba-0.2.9/src/add_share.c:221:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeModelForeachFunc [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/add_share.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/commands.c:113:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYSINIT_STOP_CMD [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/commands.c:169:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDBEDIT_BINARY [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/commands.c:208:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PDBEDIT_BINARY [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/create_conf_tab.c:44:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/create_conf_tab.c:60:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/create_conn_tab.c:107:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SELECTION_MULTIPLE [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/create_disc_tab.c:47:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/create_disc_tab.c:89:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/create_import_question.c:153:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/create_import_question.c:60:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/create_macct_tab.c:52:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/create_security_tab.c:47:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/create_security_tab.c:75:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_BUTTONBOX_SPREAD [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/create_server_tab.c:46:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/create_share_settings.c:246:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STOCK_DELETE [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/create_share_tab.c:49:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/create_user_tab.c:48:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:1067:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PASS_LEN [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:1160:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PASS_LEN [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:210:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:285:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GADMIN_SAMBA_USERS [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:337:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GADMIN_SAMBA_USERS [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:421:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASSWD_FILE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:508:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GROUP_FILE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:599:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GROUP_FILE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:710:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PASSWD_FILE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/functions.c:946:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/import_functions.c:260:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GtkTreeSelectionForeachFunc [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/make_settings_buttons.c:46:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/make_settings_buttons.c:48:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/make_settings_combos.c:161:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/make_settings_combos.c:68:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/make_settings_entries.c:67:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/make_settings_progressbars.c:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STOCK_APPLY [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:117:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:143:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/make_settings_spinbuttons.c:82:97: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_FILL [valueFlowBailoutIncompleteVar] 2.13.0 gadmin-samba-0.2.9/src/populate_user_settings.c:69:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/show_info.c:31:27: style: Parameter 'content' can be declared as pointer to const. However it seems that 'info_set_exit' is a callback function, if 'content' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gadmin-samba-0.2.9/src/show_info.c:97:2: note: You might need to cast the function pointer here gadmin-samba-0.2.9/src/show_info.c:31:27: note: Parameter 'content' can be declared as pointer to const head gadmin-samba-0.2.9/src/standard_conf.c:121:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF_BACKUP [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/standard_conf.c:152:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SAMBA_CONF [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/standard_conf.c:501:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/status_update.c:143:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_NORMAL [valueFlowBailoutIncompleteVar] head gadmin-samba-0.2.9/src/support.c:157:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DONE