2024-04-24 19:33 ftp://ftp.de.debian.org/debian/pool/main/g/gengetopt/gengetopt_2.23+dfsg1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-23) 13.2.0 cppcheck: head 2.14.0 head-info: 94f28a2 (2024-04-24 20:47:54 +0200) count: 375 375 elapsed-time: 4.3 4.4 head-timing-info: old-timing-info: head results: gengetopt-2.23/doc/cmdline2.c:30:51: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] gengetopt-2.23/doc/cmdline1.c:391:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/doc/cmdline1.c:439:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/doc/cmdline1.c:541:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/doc/cmdline1.c:600:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/doc/cmdline1.c:721:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] gengetopt-2.23/doc/main1.cc:22:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gengetopt-2.23/doc/cmdline1.c:385:64: style: Parameter 'args_info' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/doc/cmdline1.c:533:55: style: Parameter 'args_info' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/doc/cmdline1.c:691:55: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/doc/cmdline1.c:730:28: style: Variable 'long_options' can be declared as const array [constVariable] gengetopt-2.23/gl/getopt1.c:48:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:124:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. gengetopt-2.23/gl/getopt1.c:48:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. gengetopt-2.23/gl/getopt1.c:48:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:124:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. gengetopt-2.23/gl/getopt1.c:48:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. gengetopt-2.23/gl/getopt1.c:48:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:125:40: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. gengetopt-2.23/gl/getopt1.c:48:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. gengetopt-2.23/gl/getopt1.c:49:38: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:126:49: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. gengetopt-2.23/gl/getopt1.c:49:38: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. gengetopt-2.23/gl/getopt1.c:49:57: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:126:66: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. gengetopt-2.23/gl/getopt1.c:49:57: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. gengetopt-2.23/gl/getopt1.c:50:38: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:127:49: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. gengetopt-2.23/gl/getopt1.c:50:38: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. gengetopt-2.23/gl/getopt1.c:71:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:129:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. gengetopt-2.23/gl/getopt1.c:71:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. gengetopt-2.23/gl/getopt1.c:71:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:129:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. gengetopt-2.23/gl/getopt1.c:71:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. gengetopt-2.23/gl/getopt1.c:71:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:130:45: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. gengetopt-2.23/gl/getopt1.c:71:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. gengetopt-2.23/gl/getopt1.c:72:43: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:131:54: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. gengetopt-2.23/gl/getopt1.c:72:43: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. gengetopt-2.23/gl/getopt1.c:72:62: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:132:38: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. gengetopt-2.23/gl/getopt1.c:72:62: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. gengetopt-2.23/gl/getopt1.c:73:43: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:133:54: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. gengetopt-2.23/gl/getopt1.c:73:43: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. gengetopt-2.23/gl/getopt.c:543:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/cmdline.c:30:51: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] gengetopt-2.23/src/fileutils.cpp:34:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/fileutils.cpp:51:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/fileutils.cpp:30:14: style: C-style pointer casting [cstyleCast] gengetopt-2.23/src/fileutils.cpp:26:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/fileutils.cpp:26:36: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/skels/header.h:58:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/c_source.h:105:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/copyright.h:34:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gengetopt.cc:116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gengetopt.cc:347:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gengetopt.cc:421:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gengetopt.cc:434:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable second [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gengetopt.cc:961:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gengetopt.cc:967:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.h:75:8: style:inconclusive: Technically the member function 'CmdlineParserCreator::indent' can be const. [functionConst] gengetopt-2.23/src/gm.h:58:8: warning: The class 'CmdlineParserCreator' defines member variable with name 'conf_parser' also defined in its parent class 'c_source_gen_class'. [duplInheritedMember] gengetopt-2.23/src/skels/c_source.h:26:8: note: Parent variable 'c_source_gen_class::conf_parser' gengetopt-2.23/src/gm.h:58:8: note: Derived variable 'CmdlineParserCreator::conf_parser' gengetopt-2.23/src/groups.h:50:3: style: Struct 'Mode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gengetopt-2.23/src/gm_utils.h:122:5: style: Struct 'print_f' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gengetopt-2.23/src/skels/copyright.h:26:3: style: Class 'copyright_gen_class' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gengetopt-2.23/src/gm.h:92:16: style: The function 'generate_enum_types' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/header.h:83:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:92:16: note: Function in derived class gengetopt-2.23/src/gm.h:93:16: style: The function 'generate_option_arg' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/header.h:144:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:93:16: note: Function in derived class gengetopt-2.23/src/gm.h:94:16: style: The function 'generate_option_given' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/header.h:151:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:94:16: note: Function in derived class gengetopt-2.23/src/gm.h:95:16: style: The function 'generate_option_values_decl' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/header.h:158:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:95:16: note: Function in derived class gengetopt-2.23/src/gm.h:98:16: style: The function 'generate_clear_arg' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:147:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:98:16: note: Function in derived class gengetopt-2.23/src/gm.h:99:16: style: The function 'generate_given_init' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:234:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:99:16: note: Function in derived class gengetopt-2.23/src/gm.h:100:16: style: The function 'generate_option_values' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:448:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:100:16: note: Function in derived class gengetopt-2.23/src/gm.h:102:16: style: The function 'generate_handle_no_short_option' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:255:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:102:16: note: Function in derived class gengetopt-2.23/src/gm.h:104:16: style: The function 'generate_handle_option' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:262:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:104:16: note: Function in derived class gengetopt-2.23/src/gm.h:105:16: style: The function 'generate_handle_required' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:274:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:105:16: note: Function in derived class gengetopt-2.23/src/gm.h:106:16: style: The function 'generate_handle_dependencies' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:241:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:106:16: note: Function in derived class gengetopt-2.23/src/gm.h:107:16: style: The function 'generate_handle_group' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:248:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:107:16: note: Function in derived class gengetopt-2.23/src/gm.h:108:16: style: The function 'generate_group_counters' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/header.h:105:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:108:16: note: Function in derived class gengetopt-2.23/src/gm.h:109:16: style: The function 'generate_mode_counters' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/header.h:137:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:109:16: note: Function in derived class gengetopt-2.23/src/gm.h:110:16: style: The function 'generate_help_option_print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:361:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:110:16: note: Function in derived class gengetopt-2.23/src/gm.h:112:16: style: The function 'generate_full_help_option_print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:212:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:112:16: note: Function in derived class gengetopt-2.23/src/gm.h:114:16: style: The function 'generate_detailed_help_option_print' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:181:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:114:16: note: Function in derived class gengetopt-2.23/src/gm.h:116:16: style: The function 'generate_long_option_struct' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:399:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:116:16: note: Function in derived class gengetopt-2.23/src/gm.h:118:16: style: The function 'generate_reset_groups' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:470:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:118:16: note: Function in derived class gengetopt-2.23/src/gm.h:120:16: style: The function 'generate_free' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:205:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:120:16: note: Function in derived class gengetopt-2.23/src/gm.h:121:16: style: The function 'generate_list_free' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:392:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:121:16: note: Function in derived class gengetopt-2.23/src/gm.h:123:16: style: The function 'generate_file_save_loop' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:193:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:123:16: note: Function in derived class gengetopt-2.23/src/gm.h:124:16: style: The function 'generate_init_args_info' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:378:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:124:16: note: Function in derived class gengetopt-2.23/src/gm.h:126:16: style: The function 'generate_custom_getopt' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:169:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:126:16: note: Function in derived class gengetopt-2.23/src/gm.h:151:16: style: The function 'generate_list_def' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:385:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:151:16: note: Function in derived class gengetopt-2.23/src/gm.h:152:16: style: The function 'generate_multiple_fill_array' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:406:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:152:16: note: Function in derived class gengetopt-2.23/src/gm.h:153:16: style: The function 'generate_update_multiple_given' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:482:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:153:16: note: Function in derived class gengetopt-2.23/src/gm.h:154:16: style: The function 'generate_check_modes' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] gengetopt-2.23/src/skels/c_source.h:130:16: note: Virtual function in base class gengetopt-2.23/src/gm.h:154:16: note: Function in derived class gengetopt-2.23/src/gengetopt.cc:231:21: style: Condition 'canonize_vars()' is always false [knownConditionTrueFalse] gengetopt-2.23/src/gengetopt.cc:231:21: note: Calling function 'canonize_vars' returns 0 gengetopt-2.23/src/gengetopt.cc:231:21: note: Condition 'canonize_vars()' is always false gengetopt-2.23/src/gengetopt.cc:516:20: style: C-style pointer casting [cstyleCast] gengetopt-2.23/src/gengetopt.cc:113:9: style: The scope of the variable 'input_file' can be reduced. [variableScope] gengetopt-2.23/src/gengetopt.cc:498:22: style: The scope of the variable 'n' can be reduced. [variableScope] gengetopt-2.23/src/gengetopt.cc:849:22: style: The scope of the variable 'n' can be reduced. [variableScope] gengetopt-2.23/src/gengetopt.cc:867:22: style: The scope of the variable 'n' can be reduced. [variableScope] gengetopt-2.23/src/gengetopt.cc:904:21: style: The scope of the variable 'p' can be reduced. [variableScope] gengetopt-2.23/src/gengetopt.cc:441:52: style:inconclusive: Function 'gengetopt_set_section' argument 2 names different: declaration 'sd' definition 'desc'. [funcArgNamesDifferent] gengetopt-2.23/src/gengetopt.h:40:57: note: Function 'gengetopt_set_section' argument 2 names different: declaration 'sd' definition 'desc'. gengetopt-2.23/src/gengetopt.cc:441:52: note: Function 'gengetopt_set_section' argument 2 names different: declaration 'sd' definition 'desc'. gengetopt-2.23/src/gengetopt.cc:484:37: style:inconclusive: Function 'gengetopt_set_args' argument 1 names different: declaration 'args' definition 'a'. [funcArgNamesDifferent] gengetopt-2.23/src/gengetopt.h:54:38: note: Function 'gengetopt_set_args' argument 1 names different: declaration 'args' definition 'a'. gengetopt-2.23/src/gengetopt.cc:484:37: note: Function 'gengetopt_set_args' argument 1 names different: declaration 'args' definition 'a'. gengetopt-2.23/src/gengetopt.cc:555:45: style:inconclusive: Function 'gengetopt_create_option' argument 1 names different: declaration 'opt' definition 'n'. [funcArgNamesDifferent] gengetopt-2.23/src/gengetopt.cc:83:56: note: Function 'gengetopt_create_option' argument 1 names different: declaration 'opt' definition 'n'. gengetopt-2.23/src/gengetopt.cc:555:45: note: Function 'gengetopt_create_option' argument 1 names different: declaration 'opt' definition 'n'. gengetopt-2.23/src/gengetopt.cc:679:43: style:inconclusive: Function 'gengetopt_check_option' argument 1 names different: declaration 'opt' definition 'n'. [funcArgNamesDifferent] gengetopt-2.23/src/gengetopt.h:72:47: note: Function 'gengetopt_check_option' argument 1 names different: declaration 'opt' definition 'n'. gengetopt-2.23/src/gengetopt.cc:679:43: note: Function 'gengetopt_check_option' argument 1 names different: declaration 'opt' definition 'n'. gengetopt-2.23/src/gengetopt.cc:834:42: style:inconclusive: Function 'gengetopt_add_option' argument 1 names different: declaration 'opt' definition 'n'. [funcArgNamesDifferent] gengetopt-2.23/src/gengetopt.h:74:45: note: Function 'gengetopt_add_option' argument 1 names different: declaration 'opt' definition 'n'. gengetopt-2.23/src/gengetopt.cc:834:42: note: Function 'gengetopt_add_option' argument 1 names different: declaration 'opt' definition 'n'. gengetopt-2.23/src/gengetopt.cc:362:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gengetopt.cc:371:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gengetopt.cc:380:34: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gengetopt.cc:389:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gengetopt.cc:398:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gengetopt.cc:406:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gengetopt.cc:498:22: style: Variable 'n' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gengetopt.cc:847:42: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gengetopt.cc:849:22: style: Variable 'n' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gengetopt.cc:885:61: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gengetopt-2.23/gl/getopt.c:346:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:118:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. gengetopt-2.23/gl/getopt.c:346:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. gengetopt-2.23/gl/getopt.c:346:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:118:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. gengetopt-2.23/gl/getopt.c:346:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. gengetopt-2.23/gl/getopt.c:346:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:119:44: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. gengetopt-2.23/gl/getopt.c:346:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. gengetopt-2.23/gl/getopt.c:347:42: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:120:53: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. gengetopt-2.23/gl/getopt.c:347:42: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. gengetopt-2.23/gl/getopt.c:347:57: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:120:70: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. gengetopt-2.23/gl/getopt.c:347:57: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. gengetopt-2.23/gl/getopt.c:348:25: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:121:36: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. gengetopt-2.23/gl/getopt.c:348:25: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. gengetopt-2.23/gl/getopt.c:348:57: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:121:70: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. gengetopt-2.23/gl/getopt.c:348:57: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. gengetopt-2.23/gl/getopt.c:348:64: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:122:36: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. gengetopt-2.23/gl/getopt.c:348:64: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. gengetopt-2.23/gl/getopt.c:1075:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:24:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. gengetopt-2.23/gl/getopt.c:1075:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. gengetopt-2.23/gl/getopt.c:1075:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:24:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. gengetopt-2.23/gl/getopt.c:1075:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. gengetopt-2.23/gl/getopt.c:1075:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:25:42: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. gengetopt-2.23/gl/getopt.c:1075:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. gengetopt-2.23/gl/getopt.c:1076:40: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:26:51: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. gengetopt-2.23/gl/getopt.c:1076:40: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. gengetopt-2.23/gl/getopt.c:1076:55: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:26:68: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. gengetopt-2.23/gl/getopt.c:1076:55: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. gengetopt-2.23/gl/getopt.c:1076:68: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:27:34: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. gengetopt-2.23/gl/getopt.c:1076:68: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. gengetopt-2.23/gl/getopt.c:1077:23: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] gengetopt-2.23/gl/getopt_int.h:27:51: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. gengetopt-2.23/gl/getopt.c:1077:23: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. gengetopt-2.23/src/getopt.c:681:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/ggos.cpp:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/ggos.cpp:33:58: style: Parameter 'opt' can be declared as reference to const [constParameterReference] gengetopt-2.23/src/getopt.c:776:11: style: Variable 'temp' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/skels/option_arg.h:47:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/required_option.h:39:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/dependant_option.h:38:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/generic_option.h:50:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/group_option.h:38:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/group_counter.h:35:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/handle_help.h:38:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/handle_version.h:36:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/print_help_string.h:41:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/multiple_opt_list.h:34:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/multiple_fill_array.h:37:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/free_string.h:37:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/free_multiple.h:37:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/reset_group.h:36:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/exit_failure.h:36:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/update_given.h:34:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/given_field.h:37:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/clear_given.h:37:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/clear_arg.h:39:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/free_list.h:36:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/file_save.h:37:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/file_save_multiple.h:38:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/init_args_info.h:40:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/check_modes.h:39:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/skels/enum_decl.h:35:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:202:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:344:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:357:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:379:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:420:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:538:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:646:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1302:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1422:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1457:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1470:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1495:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1609:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1710:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1831:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1901:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1933:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm.cc:1950:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm_utils.cpp:48:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm_utils.cpp:258:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm_utils.cpp:313:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/gm_utils.cpp:314:27: warning: Return value of function next_word.empty() is not used. [ignoredReturnValue] gengetopt-2.23/src/gm_utils.cpp:240:31: style: The scope of the variable 'opt' can be reduced. [variableScope] gengetopt-2.23/src/gm_utils.cpp:281:9: style: The scope of the variable 'newline_chars' can be reduced. [variableScope] gengetopt-2.23/src/gm_utils.cpp:66:42: style:inconclusive: Function 'canonize_name' argument 1 names different: declaration 'name' definition 'old'. [funcArgNamesDifferent] gengetopt-2.23/src/gm_utils.h:35:42: note: Function 'canonize_name' argument 1 names different: declaration 'name' definition 'old'. gengetopt-2.23/src/gm_utils.cpp:66:42: note: Function 'canonize_name' argument 1 names different: declaration 'name' definition 'old'. gengetopt-2.23/src/gm_utils.cpp:76:42: style:inconclusive: Function 'canonize_enum' argument 1 names different: declaration 's' definition 'old'. [funcArgNamesDifferent] gengetopt-2.23/src/gm_utils.h:42:42: note: Function 'canonize_enum' argument 1 names different: declaration 's' definition 'old'. gengetopt-2.23/src/gm_utils.cpp:76:42: note: Function 'canonize_enum' argument 1 names different: declaration 's' definition 'old'. gengetopt-2.23/src/gm_utils.cpp:94:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:108:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:119:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:130:24: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:141:24: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:152:24: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:163:24: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:174:24: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:185:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:204:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:215:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:228:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:240:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm_utils.cpp:314:17: warning: Ineffective call of function 'empty()'. Did you intend to call 'clear()' instead? [uselessCallsEmpty] gengetopt-2.23/src/gm_utils.cpp:195:35: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] gengetopt-2.23/src/gm_utils.cpp:240:35: style: Variable 'opt' is assigned a value that is never used. [unreadVariable] gengetopt-2.23/src/gm_utils.cpp:281:23: style: Variable 'newline_chars' is assigned a value that is never used. [unreadVariable] parser.cc:1602:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_line [valueFlowBailoutIncompleteVar] parser.cc:1319:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ../../src/parser.yy:142:9: warning: Struct 'multiple_size' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] ../../src/parser.yy:142:9: warning: Struct 'multiple_size' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] ../../src/parser.yy:142:9: warning: Struct 'multiple_size' does not have a destructor which is recommended since it has dynamic memory/resource allocation(s). [noDestructor] ../../src/parser.yy:141:5: style: Struct 'multiple_size' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ../../src/parser.yy:135:11: style: Class 'multiple_size' is unsafe, 'multiple_size::min' can leak by wrong usage. [unsafeClassCanLeak] ../../src/parser.yy:136:11: style: Class 'multiple_size' is unsafe, 'multiple_size::max' can leak by wrong usage. [unsafeClassCanLeak] parser.cc:1477:12: style: C-style pointer casting [cstyleCast] ../../src/parser.yy:348:27: style: The scope of the variable 'current_option_text' can be reduced. [variableScope] parser.cc:1319:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] scanner.cc:893:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] scanner.cc:1533:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] scanner.cc:1835:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] scanner.cc:2111:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] scanner.cc:1839:2: warning: Possible null pointer dereference: b [nullPointer] scanner.cc:1732:18: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 scanner.cc:1839:2: note: Null pointer dereference scanner.cc:1840:2: warning: Possible null pointer dereference: b [nullPointer] scanner.cc:1732:18: note: Calling function 'yy_init_buffer', 1st argument '(yy_buffer_stack)?(yy_buffer_stack)[yy_buffer_stack_top]:NULL' value is 0 scanner.cc:1840:2: note: Null pointer dereference scanner.cc:1509:20: style: C-style pointer casting [cstyleCast] scanner.cc:1511:17: style: C-style pointer casting [cstyleCast] scanner.cc:1561:41: style: C-style pointer casting [cstyleCast] scanner.cc:1562:4: style: C-style pointer casting [cstyleCast] scanner.cc:1705:7: style: C-style pointer casting [cstyleCast] scanner.cc:1789:7: style: C-style pointer casting [cstyleCast] scanner.cc:1798:17: style: C-style pointer casting [cstyleCast] scanner.cc:1823:11: style: C-style pointer casting [cstyleCast] scanner.cc:1825:10: style: C-style pointer casting [cstyleCast] scanner.cc:1949:24: style: C-style pointer casting [cstyleCast] scanner.cc:1968:24: style: C-style pointer casting [cstyleCast] scanner.cc:1997:7: style: C-style pointer casting [cstyleCast] scanner.cc:2046:8: style: C-style pointer casting [cstyleCast] scanner.cc:2077:23: style: C-style pointer casting [cstyleCast] scanner.cc:2080:23: style: C-style pointer casting [cstyleCast] scanner.cc:2081:6: style: C-style pointer casting [cstyleCast] scanner.cc:2318:10: style: C-style pointer casting [cstyleCast] scanner.cc:1533:3: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] scanner.cc:1533:3: note: c is initialized scanner.cc:1533:3: note: c is overwritten scanner.cc:1612:59: style:inconclusive: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. [funcArgNamesDifferent] scanner.cc:363:55: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. scanner.cc:1612:59: note: Function 'yy_try_NUL_trans' argument 1 names different: declaration 'current_state' definition 'yy_current_state'. scanner.cc:2024:46: style:inconclusive: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. [funcArgNamesDifferent] scanner.cc:315:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. scanner.cc:2024:46: note: Function 'yy_scan_string' argument 1 names different: declaration 'yy_str' definition 'yystr'. scanner.cc:2037:46: style:inconclusive: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. [funcArgNamesDifferent] scanner.cc:316:45: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. scanner.cc:2037:46: note: Function 'yy_scan_bytes' argument 1 names different: declaration 'bytes' definition 'yybytes'. scanner.cc:2037:60: style:inconclusive: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. [funcArgNamesDifferent] scanner.cc:316:56: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. scanner.cc:2037:60: note: Function 'yy_scan_bytes' argument 2 names different: declaration 'len' definition '_yybytes_len'. scanner.cc:2207:24: style:inconclusive: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. [funcArgNamesDifferent] scanner.cc:708:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. scanner.cc:2207:24: note: Function 'yyset_debug' argument 1 names different: declaration 'debug_flag' definition '_bdebug'. scanner.cc:1445:8: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/skels/c_source.cc:5142:7: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gengetopt-2.23/src/skels/c_source.cc:1217:10: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:1215:10: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:1217:10: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:1441:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:1439:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:1441:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:2032:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:2030:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:2032:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:2129:10: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:2127:10: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:2129:10: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:3240:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:3238:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:3240:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:3254:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:3252:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:3254:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:3630:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:3628:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:3630:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:3674:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:3672:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:3674:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:3734:10: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:3732:10: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:3734:10: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:3774:10: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:3772:10: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:3774:10: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:4662:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:4660:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:4662:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:5089:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:5087:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:5089:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:5099:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:5097:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:5099:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:5114:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:5112:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:5114:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:5136:14: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/c_source.cc:5134:14: note: indent is assigned gengetopt-2.23/src/skels/c_source.cc:5136:14: note: indent is overwritten gengetopt-2.23/src/skels/c_source.cc:5142:14: style: Variable 'indent' is assigned a value that is never used. [unreadVariable] gengetopt-2.23/src/gm.h:83:8: performance:inconclusive: Technically the member function 'CmdlineParserCreator::free_option' can be static (but you may consider moving to unnamed namespace). [functionStatic] gengetopt-2.23/src/gm.cc:1375:23: note: Technically the member function 'CmdlineParserCreator::free_option' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:83:8: note: Technically the member function 'CmdlineParserCreator::free_option' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:89:10: performance:inconclusive: Technically the member function 'CmdlineParserCreator::generate_getopt_string' can be static (but you may consider moving to unnamed namespace). [functionStatic] gengetopt-2.23/src/gm.cc:1614:23: note: Technically the member function 'CmdlineParserCreator::generate_getopt_string' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:89:10: note: Technically the member function 'CmdlineParserCreator::generate_getopt_string' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:128:8: performance:inconclusive: Technically the member function 'CmdlineParserCreator::generateBreak' can be static (but you may consider moving to unnamed namespace). [functionStatic] gengetopt-2.23/src/gm.cc:353:23: note: Technically the member function 'CmdlineParserCreator::generateBreak' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:128:8: note: Technically the member function 'CmdlineParserCreator::generateBreak' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:156:16: performance:inconclusive: Technically the member function 'CmdlineParserCreator::generate_purpose' can be static (but you may consider moving to unnamed namespace). [functionStatic] gengetopt-2.23/src/gm.cc:1010:23: note: Technically the member function 'CmdlineParserCreator::generate_purpose' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:156:16: note: Technically the member function 'CmdlineParserCreator::generate_purpose' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:157:16: performance:inconclusive: Technically the member function 'CmdlineParserCreator::generate_versiontext' can be static (but you may consider moving to unnamed namespace). [functionStatic] gengetopt-2.23/src/gm.cc:1023:23: note: Technically the member function 'CmdlineParserCreator::generate_versiontext' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:157:16: note: Technically the member function 'CmdlineParserCreator::generate_versiontext' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:158:16: performance:inconclusive: Technically the member function 'CmdlineParserCreator::generate_description' can be static (but you may consider moving to unnamed namespace). [functionStatic] gengetopt-2.23/src/gm.cc:1036:23: note: Technically the member function 'CmdlineParserCreator::generate_description' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:158:16: note: Technically the member function 'CmdlineParserCreator::generate_description' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/gm.h:159:16: style:inconclusive: Technically the member function 'CmdlineParserCreator::generate_usage_string' can be const. [functionConst] gengetopt-2.23/src/gm.cc:656:23: note: Technically the member function 'CmdlineParserCreator::generate_usage_string' can be const. gengetopt-2.23/src/gm.h:159:16: note: Technically the member function 'CmdlineParserCreator::generate_usage_string' can be const. gengetopt-2.23/src/skels/multiple_opt_list.h:26:3: style: Class 'multiple_opt_list_gen_class' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gengetopt-2.23/src/skels/update_given.h:26:3: style: Class 'update_given_gen_class' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] gengetopt-2.23/src/gm.cc:574:13: style: The statement 'if (first) first=false' is logically equivalent to 'first=false'. [duplicateConditionalAssign] gengetopt-2.23/src/gm.cc:575:17: note: Assignment 'first=false' gengetopt-2.23/src/gm.cc:574:13: note: Condition 'first' is redundant gengetopt-2.23/src/gm.cc:598:13: style: The statement 'if (first) first=false' is logically equivalent to 'first=false'. [duplicateConditionalAssign] gengetopt-2.23/src/gm.cc:599:17: note: Assignment 'first=false' gengetopt-2.23/src/gm.cc:598:13: note: Condition 'first' is redundant gengetopt-2.23/src/gm.cc:1551:31: style: Condition 'opt->type' is always true [knownConditionTrueFalse] gengetopt-2.23/src/gm.cc:260:29: style: The scope of the variable 'opt' can be reduced. [variableScope] gengetopt-2.23/src/gm.cc:666:29: style: The scope of the variable 'opt' can be reduced. [variableScope] gengetopt-2.23/src/gm.cc:154:51: style:inconclusive: Function 'CmdlineParserCreator' argument 3 names different: declaration 'unnamed_options' definition 'unnamed_options_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:135:31: note: Function 'CmdlineParserCreator' argument 3 names different: declaration 'unnamed_options' definition 'unnamed_options_'. gengetopt-2.23/src/gm.cc:154:51: note: Function 'CmdlineParserCreator' argument 3 names different: declaration 'unnamed_options' definition 'unnamed_options_'. gengetopt-2.23/src/gm.cc:155:51: style:inconclusive: Function 'CmdlineParserCreator' argument 4 names different: declaration 'filename' definition 'filename_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:136:31: note: Function 'CmdlineParserCreator' argument 4 names different: declaration 'filename' definition 'filename_'. gengetopt-2.23/src/gm.cc:155:51: note: Function 'CmdlineParserCreator' argument 4 names different: declaration 'filename' definition 'filename_'. gengetopt-2.23/src/gm.cc:157:50: style:inconclusive: Function 'CmdlineParserCreator' argument 7 names different: declaration 'long_help' definition 'long_help_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:137:30: note: Function 'CmdlineParserCreator' argument 7 names different: declaration 'long_help' definition 'long_help_'. gengetopt-2.23/src/gm.cc:157:50: note: Function 'CmdlineParserCreator' argument 7 names different: declaration 'long_help' definition 'long_help_'. gengetopt-2.23/src/gm.cc:158:50: style:inconclusive: Function 'CmdlineParserCreator' argument 8 names different: declaration 'no_handle_help' definition 'no_handle_help_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:138:30: note: Function 'CmdlineParserCreator' argument 8 names different: declaration 'no_handle_help' definition 'no_handle_help_'. gengetopt-2.23/src/gm.cc:158:50: note: Function 'CmdlineParserCreator' argument 8 names different: declaration 'no_handle_help' definition 'no_handle_help_'. gengetopt-2.23/src/gm.cc:159:50: style:inconclusive: Function 'CmdlineParserCreator' argument 9 names different: declaration 'no_help' definition 'no_help_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:138:51: note: Function 'CmdlineParserCreator' argument 9 names different: declaration 'no_help' definition 'no_help_'. gengetopt-2.23/src/gm.cc:159:50: note: Function 'CmdlineParserCreator' argument 9 names different: declaration 'no_help' definition 'no_help_'. gengetopt-2.23/src/gm.cc:160:50: style:inconclusive: Function 'CmdlineParserCreator' argument 10 names different: declaration 'no_handle_version' definition 'no_handle_version_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:139:30: note: Function 'CmdlineParserCreator' argument 10 names different: declaration 'no_handle_version' definition 'no_handle_version_'. gengetopt-2.23/src/gm.cc:160:50: note: Function 'CmdlineParserCreator' argument 10 names different: declaration 'no_handle_version' definition 'no_handle_version_'. gengetopt-2.23/src/gm.cc:161:50: style:inconclusive: Function 'CmdlineParserCreator' argument 11 names different: declaration 'no_version' definition 'no_version_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:139:54: note: Function 'CmdlineParserCreator' argument 11 names different: declaration 'no_version' definition 'no_version_'. gengetopt-2.23/src/gm.cc:161:50: note: Function 'CmdlineParserCreator' argument 11 names different: declaration 'no_version' definition 'no_version_'. gengetopt-2.23/src/gm.cc:162:50: style:inconclusive: Function 'CmdlineParserCreator' argument 12 names different: declaration 'no_handle_error' definition 'no_handle_error_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:140:30: note: Function 'CmdlineParserCreator' argument 12 names different: declaration 'no_handle_error' definition 'no_handle_error_'. gengetopt-2.23/src/gm.cc:162:50: note: Function 'CmdlineParserCreator' argument 12 names different: declaration 'no_handle_error' definition 'no_handle_error_'. gengetopt-2.23/src/gm.cc:163:50: style:inconclusive: Function 'CmdlineParserCreator' argument 13 names different: declaration 'strict_hidden' definition 'strict_hidden_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:140:52: note: Function 'CmdlineParserCreator' argument 13 names different: declaration 'strict_hidden' definition 'strict_hidden_'. gengetopt-2.23/src/gm.cc:163:50: note: Function 'CmdlineParserCreator' argument 13 names different: declaration 'strict_hidden' definition 'strict_hidden_'. gengetopt-2.23/src/gm.cc:164:50: style:inconclusive: Function 'CmdlineParserCreator' argument 14 names different: declaration 'conf_parser' definition 'conf_parser_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:141:30: note: Function 'CmdlineParserCreator' argument 14 names different: declaration 'conf_parser' definition 'conf_parser_'. gengetopt-2.23/src/gm.cc:164:50: note: Function 'CmdlineParserCreator' argument 14 names different: declaration 'conf_parser' definition 'conf_parser_'. gengetopt-2.23/src/gm.cc:165:50: style:inconclusive: Function 'CmdlineParserCreator' argument 15 names different: declaration 'string_parser' definition 'string_parser_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:141:48: note: Function 'CmdlineParserCreator' argument 15 names different: declaration 'string_parser' definition 'string_parser_'. gengetopt-2.23/src/gm.cc:165:50: note: Function 'CmdlineParserCreator' argument 15 names different: declaration 'string_parser' definition 'string_parser_'. gengetopt-2.23/src/gm.cc:168:50: style:inconclusive: Function 'CmdlineParserCreator' argument 18 names different: declaration 'no_options' definition 'no_options_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:142:65: note: Function 'CmdlineParserCreator' argument 18 names different: declaration 'no_options' definition 'no_options_'. gengetopt-2.23/src/gm.cc:168:50: note: Function 'CmdlineParserCreator' argument 18 names different: declaration 'no_options' definition 'no_options_'. gengetopt-2.23/src/gm.cc:169:59: style:inconclusive: Function 'CmdlineParserCreator' argument 19 names different: declaration 'comment' definition 'comment_'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:143:39: note: Function 'CmdlineParserCreator' argument 19 names different: declaration 'comment' definition 'comment_'. gengetopt-2.23/src/gm.cc:169:59: note: Function 'CmdlineParserCreator' argument 19 names different: declaration 'comment' definition 'comment_'. gengetopt-2.23/src/gm.cc:353:67: style:inconclusive: Function 'generateBreak' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:128:52: note: Function 'generateBreak' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:353:67: note: Function 'generateBreak' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:414:56: style:inconclusive: Function 'generate_enum_types' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:92:66: note: Function 'generate_enum_types' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:414:56: note: Function 'generate_enum_types' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:451:56: style:inconclusive: Function 'generate_option_arg' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:93:66: note: Function 'generate_option_arg' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:451:56: note: Function 'generate_option_arg' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:515:58: style:inconclusive: Function 'generate_option_given' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:94:68: note: Function 'generate_option_given' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:515:58: note: Function 'generate_option_given' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:565:64: style:inconclusive: Function 'generate_option_values_decl' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:95:74: note: Function 'generate_option_values_decl' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:565:64: note: Function 'generate_option_values_decl' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:589:59: style:inconclusive: Function 'generate_option_values' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:100:69: note: Function 'generate_option_values' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:589:59: note: Function 'generate_option_values' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:769:22: style:inconclusive: Function 'generate_help_option_print_from_lists' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:182:24: note: Function 'generate_help_option_print_from_lists' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:769:22: note: Function 'generate_help_option_print_from_lists' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:769:51: style:inconclusive: Function 'generate_help_option_print_from_lists' argument 3 names different: declaration 'complete_list' definition 'full_option_list'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:182:48: note: Function 'generate_help_option_print_from_lists' argument 3 names different: declaration 'complete_list' definition 'full_option_list'. gengetopt-2.23/src/gm.cc:769:51: note: Function 'generate_help_option_print_from_lists' argument 3 names different: declaration 'complete_list' definition 'full_option_list'. gengetopt-2.23/src/gm.cc:770:25: style:inconclusive: Function 'generate_help_option_print_from_lists' argument 4 names different: declaration 'smaller_list' definition 'option_list'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:183:27: note: Function 'generate_help_option_print_from_lists' argument 4 names different: declaration 'smaller_list' definition 'option_list'. gengetopt-2.23/src/gm.cc:770:25: note: Function 'generate_help_option_print_from_lists' argument 4 names different: declaration 'smaller_list' definition 'option_list'. gengetopt-2.23/src/gm.cc:830:63: style:inconclusive: Function 'generate_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:111:56: note: Function 'generate_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:830:63: note: Function 'generate_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:866:22: style:inconclusive: Function 'generate_full_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:113:56: note: Function 'generate_full_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:866:22: note: Function 'generate_full_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:900:22: style:inconclusive: Function 'generate_detailed_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:115:56: note: Function 'generate_detailed_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:900:22: note: Function 'generate_detailed_help_option_print' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:919:77: style:inconclusive: Function 'generate_init_args_info' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:124:70: note: Function 'generate_init_args_info' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:919:77: note: Function 'generate_init_args_info' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1002:81: style:inconclusive: Function 'generate_custom_getopt' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:126:69: note: Function 'generate_custom_getopt' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1002:81: note: Function 'generate_custom_getopt' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1308:56: style:inconclusive: Function 'generate_given_init' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:99:66: note: Function 'generate_given_init' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1308:56: note: Function 'generate_given_init' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1332:75: style:inconclusive: Function 'generate_reset_groups' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:118:68: note: Function 'generate_reset_groups' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1332:75: note: Function 'generate_reset_groups' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1376:65: style:inconclusive: Function 'free_option' argument 3 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:84:50: note: Function 'free_option' argument 3 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1376:65: note: Function 'free_option' argument 3 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1406:71: style:inconclusive: Function 'generate_list_def' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:151:64: note: Function 'generate_list_def' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1406:71: note: Function 'generate_list_def' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1429:82: style:inconclusive: Function 'generate_multiple_fill_array' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:152:75: note: Function 'generate_multiple_fill_array' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1429:82: note: Function 'generate_multiple_fill_array' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1463:84: style:inconclusive: Function 'generate_update_multiple_given' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:153:77: note: Function 'generate_update_multiple_given' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1463:84: note: Function 'generate_update_multiple_given' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1487:74: style:inconclusive: Function 'generate_check_modes' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:154:67: note: Function 'generate_check_modes' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1487:74: note: Function 'generate_check_modes' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1534:72: style:inconclusive: Function 'generate_clear_arg' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:98:65: note: Function 'generate_clear_arg' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1534:72: note: Function 'generate_clear_arg' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1590:64: style:inconclusive: Function 'generate_long_option_struct' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:117:57: note: Function 'generate_long_option_struct' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1590:64: note: Function 'generate_long_option_struct' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1633:68: style:inconclusive: Function 'generate_handle_no_short_option' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:103:61: note: Function 'generate_handle_no_short_option' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1633:68: note: Function 'generate_handle_no_short_option' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1640:59: style:inconclusive: Function 'generate_handle_option' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:104:69: note: Function 'generate_handle_option' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1640:59: note: Function 'generate_handle_option' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1806:58: style:inconclusive: Function 'generate_handle_group' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:107:68: note: Function 'generate_handle_group' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1806:58: note: Function 'generate_handle_group' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1837:61: style:inconclusive: Function 'generate_handle_required' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:105:71: note: Function 'generate_handle_required' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1837:61: note: Function 'generate_handle_required' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1908:61: style:inconclusive: Function 'generate_handle_dependencies' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:106:75: note: Function 'generate_handle_dependencies' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1908:61: note: Function 'generate_handle_dependencies' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1956:60: style:inconclusive: Function 'generate_group_counters' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:108:70: note: Function 'generate_group_counters' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1956:60: note: Function 'generate_group_counters' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1963:60: style:inconclusive: Function 'generate_mode_counters' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:109:69: note: Function 'generate_mode_counters' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1963:60: note: Function 'generate_mode_counters' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1996:50: style:inconclusive: Function 'generate_free' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:120:60: note: Function 'generate_free' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:1996:50: note: Function 'generate_free' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:2008:55: style:inconclusive: Function 'generate_list_free' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:121:65: note: Function 'generate_list_free' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:2008:55: note: Function 'generate_list_free' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:2028:77: style:inconclusive: Function 'generate_file_save_loop' argument 2 names different: declaration 'indent' definition 'indentation'. [funcArgNamesDifferent] gengetopt-2.23/src/gm.h:123:70: note: Function 'generate_file_save_loop' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:2028:77: note: Function 'generate_file_save_loop' argument 2 names different: declaration 'indent' definition 'indentation'. gengetopt-2.23/src/gm.cc:152:51: style: Parameter 'function_name' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gm.cc:260:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:296:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:463:47: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gm.cc:517:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/skels/check_modes.h:89:8: style:inconclusive: Technically the member function 'check_modes_gen_class::generate_check_modes' can be const. [functionConst] gengetopt-2.23/src/skels/check_modes.cc:10:24: note: Technically the member function 'check_modes_gen_class::generate_check_modes' can be const. gengetopt-2.23/src/skels/check_modes.h:89:8: note: Technically the member function 'check_modes_gen_class::generate_check_modes' can be const. gengetopt-2.23/src/gm.cc:567:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:612:61: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gm.cc:921:31: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1107:9: style: Variable 'prev_group' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1108:9: style: Variable 'prev_mode' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1109:9: style: Variable 'curr_section' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1310:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1375:60: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/src/gm.cc:1408:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1431:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1474:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1839:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1910:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:2010:29: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] gengetopt-2.23/src/gm.cc:1220:24: style: Variable 'type_len' is assigned a value that is never used. [unreadVariable] gengetopt-2.23/src/skels/clear_arg.h:84:8: style:inconclusive: Technically the member function 'clear_arg_gen_class::generate_clear_arg' can be const. [functionConst] gengetopt-2.23/src/skels/clear_arg.cc:10:22: note: Technically the member function 'clear_arg_gen_class::generate_clear_arg' can be const. gengetopt-2.23/src/skels/clear_arg.h:84:8: note: Technically the member function 'clear_arg_gen_class::generate_clear_arg' can be const. gengetopt-2.23/src/skels/copyright.h:59:8: style:inconclusive: Technically the member function 'copyright_gen_class::generate_copyright' can be const. [functionConst] gengetopt-2.23/src/skels/copyright.cc:10:22: note: Technically the member function 'copyright_gen_class::generate_copyright' can be const. gengetopt-2.23/src/skels/copyright.h:59:8: note: Technically the member function 'copyright_gen_class::generate_copyright' can be const. gengetopt-2.23/src/skels/clear_given.h:72:8: style:inconclusive: Technically the member function 'clear_given_gen_class::generate_clear_given' can be const. [functionConst] gengetopt-2.23/src/skels/clear_given.cc:10:24: note: Technically the member function 'clear_given_gen_class::generate_clear_given' can be const. gengetopt-2.23/src/skels/clear_given.h:72:8: note: Technically the member function 'clear_given_gen_class::generate_clear_given' can be const. gengetopt-2.23/src/skels/dependant_option.h:83:8: style:inconclusive: Technically the member function 'dependant_option_gen_class::generate_dependant_option' can be const. [functionConst] gengetopt-2.23/src/skels/dependant_option.cc:10:29: note: Technically the member function 'dependant_option_gen_class::generate_dependant_option' can be const. gengetopt-2.23/src/skels/dependant_option.h:83:8: note: Technically the member function 'dependant_option_gen_class::generate_dependant_option' can be const. gengetopt-2.23/src/skels/enum_decl.h:65:8: style:inconclusive: Technically the member function 'enum_decl_gen_class::generate_enum_decl' can be const. [functionConst] gengetopt-2.23/src/skels/enum_decl.cc:10:22: note: Technically the member function 'enum_decl_gen_class::generate_enum_decl' can be const. gengetopt-2.23/src/skels/enum_decl.h:65:8: note: Technically the member function 'enum_decl_gen_class::generate_enum_decl' can be const. gengetopt-2.23/src/skels/custom_getopt_gen.cc:13:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gengetopt-2.23/src/skels/custom_getopt_gen.h:26:8: performance:inconclusive: Technically the member function 'custom_getopt_gen_gen_class::generate_custom_getopt_gen' can be static (but you may consider moving to unnamed namespace). [functionStatic] gengetopt-2.23/src/skels/custom_getopt_gen.cc:10:30: note: Technically the member function 'custom_getopt_gen_gen_class::generate_custom_getopt_gen' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/skels/custom_getopt_gen.h:26:8: note: Technically the member function 'custom_getopt_gen_gen_class::generate_custom_getopt_gen' can be static (but you may consider moving to unnamed namespace). gengetopt-2.23/src/skels/custom_getopt_gen.cc:13:10: style: Variable 'indent' is assigned a value that is never used. [unreadVariable] gengetopt-2.23/src/skels/exit_failure.cc:27:7: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gengetopt-2.23/src/skels/exit_failure.h:66:8: style:inconclusive: Technically the member function 'exit_failure_gen_class::generate_exit_failure' can be const. [functionConst] gengetopt-2.23/src/skels/exit_failure.cc:10:25: note: Technically the member function 'exit_failure_gen_class::generate_exit_failure' can be const. gengetopt-2.23/src/skels/exit_failure.h:66:8: note: Technically the member function 'exit_failure_gen_class::generate_exit_failure' can be const. gengetopt-2.23/src/skels/exit_failure.cc:13:10: style: Variable 'indent' is assigned a value that is never used. [unreadVariable] gengetopt-2.23/src/skels/exit_failure.cc:27:14: style: Variable 'indent' is assigned a value that is never used. [unreadVariable] gengetopt-2.23/src/skels/file_save_multiple.h:78:8: style:inconclusive: Technically the member function 'file_save_multiple_gen_class::generate_file_save_multiple' can be const. [functionConst] gengetopt-2.23/src/skels/file_save_multiple.cc:10:31: note: Technically the member function 'file_save_multiple_gen_class::generate_file_save_multiple' can be const. gengetopt-2.23/src/skels/file_save_multiple.h:78:8: note: Technically the member function 'file_save_multiple_gen_class::generate_file_save_multiple' can be const. gengetopt-2.23/src/skels/file_save.h:77:8: style:inconclusive: Technically the member function 'file_save_gen_class::generate_file_save' can be const. [functionConst] gengetopt-2.23/src/skels/file_save.cc:10:22: note: Technically the member function 'file_save_gen_class::generate_file_save' can be const. gengetopt-2.23/src/skels/file_save.h:77:8: note: Technically the member function 'file_save_gen_class::generate_file_save' can be const. gengetopt-2.23/src/skels/free_list.h:66:8: style:inconclusive: Technically the member function 'free_list_gen_class::generate_free_list' can be const. [functionConst] gengetopt-2.23/src/skels/free_list.cc:10:22: note: Technically the member function 'free_list_gen_class::generate_free_list' can be const. gengetopt-2.23/src/skels/free_list.h:66:8: note: Technically the member function 'free_list_gen_class::generate_free_list' can be const. gengetopt-2.23/src/skels/free_multiple.h:72:8: style:inconclusive: Technically the member function 'free_multiple_gen_class::generate_free_multiple' can be const. [functionConst] gengetopt-2.23/src/skels/free_multiple.cc:10:26: note: Technically the member function 'free_multiple_gen_class::generate_free_multiple' can be const. gengetopt-2.23/src/skels/free_multiple.h:72:8: note: Technically the member function 'free_multiple_gen_class::generate_free_multiple' can be const. gengetopt-2.23/src/skels/free_string.h:72:8: style:inconclusive: Technically the member function 'free_string_gen_class::generate_free_string' can be const. [functionConst] gengetopt-2.23/src/skels/free_string.cc:10:24: note: Technically the member function 'free_string_gen_class::generate_free_string' can be const. gengetopt-2.23/src/skels/free_string.h:72:8: note: Technically the member function 'free_string_gen_class::generate_free_string' can be const. gengetopt-2.23/src/skels/given_field.h:72:8: style:inconclusive: Technically the member function 'given_field_gen_class::generate_given_field' can be const. [functionConst] gengetopt-2.23/src/skels/given_field.cc:10:24: note: Technically the member function 'given_field_gen_class::generate_given_field' can be const. gengetopt-2.23/src/skels/given_field.h:72:8: note: Technically the member function 'given_field_gen_class::generate_given_field' can be const. gengetopt-2.23/src/skels/generic_option.cc:249:11: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gengetopt-2.23/src/skels/generic_option.h:150:8: style:inconclusive: Technically the member function 'generic_option_gen_class::generate_generic_option' can be const. [functionConst] gengetopt-2.23/src/skels/generic_option.cc:10:27: note: Technically the member function 'generic_option_gen_class::generate_generic_option' can be const. gengetopt-2.23/src/skels/generic_option.h:150:8: note: Technically the member function 'generic_option_gen_class::generate_generic_option' can be const. gengetopt-2.23/src/skels/generic_option.cc:249:18: style: Variable 'indent' is assigned a value that is never used. [unreadVariable] gengetopt-2.23/src/skels/group_counter.h:65:8: style:inconclusive: Technically the member function 'group_counter_gen_class::generate_group_counter' can be const. [functionConst] gengetopt-2.23/src/skels/group_counter.cc:10:26: note: Technically the member function 'group_counter_gen_class::generate_group_counter' can be const. gengetopt-2.23/src/skels/group_counter.h:65:8: note: Technically the member function 'group_counter_gen_class::generate_group_counter' can be const. gengetopt-2.23/src/skels/group_option.h:83:8: style:inconclusive: Technically the member function 'group_option_gen_class::generate_group_option' can be const. [functionConst] gengetopt-2.23/src/skels/group_option.cc:10:25: note: Technically the member function 'group_option_gen_class::generate_group_option' can be const. gengetopt-2.23/src/skels/group_option.h:83:8: note: Technically the member function 'group_option_gen_class::generate_group_option' can be const. gengetopt-2.23/src/skels/handle_help.h:78:8: style:inconclusive: Technically the member function 'handle_help_gen_class::generate_handle_help' can be const. [functionConst] gengetopt-2.23/src/skels/handle_help.cc:10:24: note: Technically the member function 'handle_help_gen_class::generate_handle_help' can be const. gengetopt-2.23/src/skels/handle_help.h:78:8: note: Technically the member function 'handle_help_gen_class::generate_handle_help' can be const. gengetopt-2.23/src/skels/handle_version.cc:36:3: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] gengetopt-2.23/src/skels/handle_version.h:66:8: style:inconclusive: Technically the member function 'handle_version_gen_class::generate_handle_version' can be const. [functionConst] gengetopt-2.23/src/skels/handle_version.cc:10:27: note: Technically the member function 'handle_version_gen_class::generate_handle_version' can be const. gengetopt-2.23/src/skels/handle_version.h:66:8: note: Technically the member function 'handle_version_gen_class::generate_handle_version' can be const. gengetopt-2.23/src/skels/handle_version.cc:36:10: style: Variable 'indent' is assigned a value that is never used. [unreadVariable] gengetopt-2.23/src/skels/init_args_info.h:90:8: style:inconclusive: Technically the member function 'init_args_info_gen_class::generate_init_args_info' can be const. [functionConst] gengetopt-2.23/src/skels/init_args_info.cc:10:27: note: Technically the member function 'init_args_info_gen_class::generate_init_args_info' can be const. gengetopt-2.23/src/skels/init_args_info.h:90:8: note: Technically the member function 'init_args_info_gen_class::generate_init_args_info' can be const. gengetopt-2.23/src/skels/multiple_fill_array.h:77:8: style:inconclusive: Technically the member function 'multiple_fill_array_gen_class::generate_multiple_fill_array' can be const. [functionConst] gengetopt-2.23/src/skels/multiple_fill_array.cc:10:32: note: Technically the member function 'multiple_fill_array_gen_class::generate_multiple_fill_array' can be const. gengetopt-2.23/src/skels/multiple_fill_array.h:77:8: note: Technically the member function 'multiple_fill_array_gen_class::generate_multiple_fill_array' can be const. gengetopt-2.23/src/skels/multiple_opt_list.h:59:8: style:inconclusive: Technically the member function 'multiple_opt_list_gen_class::generate_multiple_opt_list' can be const. [functionConst] gengetopt-2.23/src/skels/multiple_opt_list.cc:10:30: note: Technically the member function 'multiple_opt_list_gen_class::generate_multiple_opt_list' can be const. gengetopt-2.23/src/skels/multiple_opt_list.h:59:8: note: Technically the member function 'multiple_opt_list_gen_class::generate_multiple_opt_list' can be const. gengetopt-2.23/src/skels/print_help_string.h:96:8: style:inconclusive: Technically the member function 'print_help_string_gen_class::generate_print_help_string' can be const. [functionConst] gengetopt-2.23/src/skels/print_help_string.cc:10:30: note: Technically the member function 'print_help_string_gen_class::generate_print_help_string' can be const. gengetopt-2.23/src/skels/print_help_string.h:96:8: note: Technically the member function 'print_help_string_gen_class::generate_print_help_string' can be const. gengetopt-2.23/src/skels/option_arg.h:132:8: style:inconclusive: Technically the member function 'option_arg_gen_class::generate_option_arg' can be const. [functionConst] gengetopt-2.23/src/skels/option_arg.cc:10:23: note: Technically the member function 'option_arg_gen_class::generate_option_arg' can be const. gengetopt-2.23/src/skels/option_arg.h:132:8: note: Technically the member function 'option_arg_gen_class::generate_option_arg' can be const. gengetopt-2.23/src/skels/reset_group.h:71:8: style:inconclusive: Technically the member function 'reset_group_gen_class::generate_reset_group' can be const. [functionConst] gengetopt-2.23/src/skels/reset_group.cc:10:24: note: Technically the member function 'reset_group_gen_class::generate_reset_group' can be const. gengetopt-2.23/src/skels/reset_group.h:71:8: note: Technically the member function 'reset_group_gen_class::generate_reset_group' can be const. gengetopt-2.23/src/skels/reset_group.cc:38:10: style: Variable 'indent' is reassigned a value before the old one has been used. [redundantAssignment] gengetopt-2.23/src/skels/reset_group.cc:36:10: note: indent is assigned gengetopt-2.23/src/skels/reset_group.cc:38:10: note: indent is overwritten gengetopt-2.23/src/skels/update_given.h:59:8: style:inconclusive: Technically the member function 'update_given_gen_class::generate_update_given' can be const. [functionConst] gengetopt-2.23/src/skels/update_given.cc:10:25: note: Technically the member function 'update_given_gen_class::generate_update_given' can be const. gengetopt-2.23/src/skels/update_given.h:59:8: note: Technically the member function 'update_given_gen_class::generate_update_given' can be const. gengetopt-2.23/src/skels/required_option.h:84:8: style:inconclusive: Technically the member function 'required_option_gen_class::generate_required_option' can be const. [functionConst] gengetopt-2.23/src/skels/required_option.cc:10:28: note: Technically the member function 'required_option_gen_class::generate_required_option' can be const. gengetopt-2.23/src/skels/required_option.h:84:8: note: Technically the member function 'required_option_gen_class::generate_required_option' can be const. gengetopt-2.23/src/yyerror.cc:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/yyerror.cc:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/tests/asserttestexit.h:40:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/tests/asserttestexit.h:63:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/tests/asserttestexit.h:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/tests/asserttestexit.h:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/tests/test_specialchars.cc:11:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gengetopt-2.23/src/tests/test_specialchars.cc:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gengetopt-2.23/tests/no_optgiven2.c:22:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/tests/test_manual_help_cmd.c:243:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/tests/test_manual_help_cmd.c:273:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/tests/test_manual_help_cmd.c:401:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gengetopt-2.23/tests/test_manual_help_cmd.c:503:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] gengetopt-2.23/tests/test_manual_help_cmd.c:237:77: style: Parameter 'args_info' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/tests/test_manual_help_cmd.c:473:68: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] gengetopt-2.23/tests/test_manual_help_cmd.c:512:28: style: Variable 'long_options' can be declared as const array [constVariable] gengetopt-2.23/tests/test_multiple.cc:58:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] gengetopt-2.23/tests/test_values.c:93:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_values_cmd_parser_values_first_enums_values [valueFlowBailoutIncompleteVar] gengetopt-2.23/tests/test_values_cc.cc:93:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_values_cmd_parser_values_first_enums_values [valueFlowBailoutIncompleteVar] diff: DONE