2025-06-29 07:16 ftp://ftp.de.debian.org/debian/pool/main/n/ncmpc/ncmpc_0.52.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-62-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: ca83f56 (2025-06-29 00:31:22 +0200) count: 323 314 elapsed-time: 4.5 4.4 head-timing-info: old-timing-info: head results: ncmpc-0.52/src/AsyncUserInput.cxx:18:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/Bindings.hxx:29:12: style: Struct 'KeyBinding' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ncmpc-0.52/src/util/StringAPI.hxx:99:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ncmpc-0.52/src/util/StringAPI.hxx:49:18: style: Parameter 'haystack' can be declared as pointer to const [constParameterPointer] ncmpc-0.52/src/util/StringAPI.hxx:63:22: style: Parameter 'haystack' can be declared as pointer to const [constParameterPointer] ncmpc-0.52/src/BasicMarquee.cxx:34:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/BasicMarquee.hxx:44:11: warning: Member variable 'BasicMarquee::max_offset' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/BasicMarquee.hxx:44:11: warning: Member variable 'BasicMarquee::offset' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/BasicMarquee.cxx:21:28: style:inconclusive: Function 'Set' argument 1 names different: declaration 'width' definition '_width'. [funcArgNamesDifferent] ncmpc-0.52/src/BasicMarquee.hxx:57:20: note: Function 'Set' argument 1 names different: declaration 'width' definition '_width'. ncmpc-0.52/src/BasicMarquee.cxx:21:28: note: Function 'Set' argument 1 names different: declaration 'width' definition '_width'. ncmpc-0.52/src/Bindings.cxx:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/Bindings.cxx:51:38: style:inconclusive: Function 'Check' argument 2 names different: declaration 'size' definition 'bufsize'. [funcArgNamesDifferent] ncmpc-0.52/src/Bindings.hxx:82:31: note: Function 'Check' argument 2 names different: declaration 'size' definition 'bufsize'. ncmpc-0.52/src/Bindings.cxx:51:38: note: Function 'Check' argument 2 names different: declaration 'size' definition 'bufsize'. ncmpc-0.52/src/Bindings.cxx:114:39: style:inconclusive: Function 'WriteToFile' argument 2 names different: declaration 'all' definition 'flags'. [funcArgNamesDifferent] ncmpc-0.52/src/Bindings.hxx:87:32: note: Function 'WriteToFile' argument 2 names different: declaration 'all' definition 'flags'. ncmpc-0.52/src/Bindings.cxx:114:39: note: Function 'WriteToFile' argument 2 names different: declaration 'all' definition 'flags'. ncmpc-0.52/src/Bindings.cxx:41:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ncmpc-0.52/src/co/Compat.hxx:26:0: error: #error Need -fcoroutines [preprocessorErrorDirective] ncmpc-0.52/src/co/Compat.hxx:26:2: error: #error Need -fcoroutines [preprocessorErrorDirective] ncmpc-0.52/src/Completion.cxx:22:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/ConfigFile.cxx:37:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/ConfigFile.cxx:48:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/ConfigFile.cxx:77:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/ConfigParser.cxx:787:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/util/StringStrip.hxx:23:38: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/util/StringStrip.hxx:52:39: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/util/StringStrip.hxx:53:11: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/ConfigParser.cxx:91:16: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ncmpc-0.52/src/CustomColors.cxx:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.hxx:324:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SUCCESS [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/DelayedSeek.hxx:23:2: warning: Member variable 'DelayedSeek::time' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/ui/Keys.hxx:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_BACKSPACE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/KeyName.cxx:64:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_F0 [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/KeyName.cxx:134:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_F0 [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/LyricsCache.cxx:16:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/LyricsCache.cxx:145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/LyricsCache.cxx:158:14: style:inconclusive: Technically the member function 'LyricsCache::Delete' can be const. [functionConst] ncmpc-0.52/src/LyricsCache.hxx:37:7: note: Technically the member function 'LyricsCache::Delete' can be const. ncmpc-0.52/src/LyricsCache.cxx:158:14: note: Technically the member function 'LyricsCache::Delete' can be const. ncmpc-0.52/src/LyricsCache.cxx:119:14: style: Checking if unsigned expression 'nbytes' is less than zero. [unsignedLessThanZero] ncmpc-0.52/src/LyricsCache.cxx:71:9: performance: Passing the result of c_str() to a function that takes std::string_view as argument no. 1 is slow and redundant. [stlcstrParam] ncmpc-0.52/src/Match.hxx:25:2: warning: Member variable 'MatchExpression::anchored' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/Options.cxx:128:29: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] ncmpc-0.52/src/ProgressBar.cxx:43:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACS_HLINE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/ProgressBar.cxx:78:27: style:inconclusive: Function 'Set' argument 1 names different: declaration 'current' definition '_current'. [funcArgNamesDifferent] ncmpc-0.52/src/ProgressBar.hxx:21:20: note: Function 'Set' argument 1 names different: declaration 'current' definition '_current'. ncmpc-0.52/src/ProgressBar.cxx:78:27: note: Function 'Set' argument 1 names different: declaration 'current' definition '_current'. ncmpc-0.52/src/ProgressBar.cxx:78:46: style:inconclusive: Function 'Set' argument 2 names different: declaration 'max' definition '_max'. [funcArgNamesDifferent] ncmpc-0.52/src/ProgressBar.hxx:21:38: note: Function 'Set' argument 2 names different: declaration 'max' definition '_max'. ncmpc-0.52/src/ProgressBar.cxx:78:46: note: Function 'Set' argument 2 names different: declaration 'max' definition '_max'. ncmpc-0.52/src/Queue.cxx:17:26: style:inconclusive: Function 'GetChecked' argument 1 names different: declaration 'i' definition 'idx'. [funcArgNamesDifferent] ncmpc-0.52/src/Queue.hxx:50:40: note: Function 'GetChecked' argument 1 names different: declaration 'i' definition 'idx'. ncmpc-0.52/src/Queue.cxx:17:26: note: Function 'GetChecked' argument 1 names different: declaration 'i' definition 'idx'. ncmpc-0.52/src/Queue.cxx:72:33: style:inconclusive: Function 'FindByUri' argument 1 names different: declaration 'uri' definition 'filename'. [funcArgNamesDifferent] ncmpc-0.52/src/Queue.hxx:90:28: note: Function 'FindByUri' argument 1 names different: declaration 'uri' definition 'filename'. ncmpc-0.52/src/Queue.cxx:72:33: note: Function 'FindByUri' argument 1 names different: declaration 'uri' definition 'filename'. ncmpc-0.52/src/ui/paint.hxx:20:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/ui/paint.hxx:32:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/SongRowPaint.cxx:26:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIST [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/hscroll.hxx:42:2: warning: Member variable 'hscroll::position' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/hscroll.hxx:42:2: warning: Member variable 'hscroll::style' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/StatusBar.cxx:113:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/StatusBar.cxx:187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_STATE_PLAY [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/StatusBar.cxx:21:12: warning: Member variable 'StatusBar::left_text' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/StatusBar.cxx:21:12: warning: Member variable 'StatusBar::right_buffer' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/StatusBar.cxx:21:12: warning: Member variable 'StatusBar::right_length' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/StatusBar.cxx:21:12: warning: Member variable 'StatusBar::left_width' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/StatusBar.cxx:21:12: warning: Member variable 'StatusBar::right_width' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/TabBar.cxx:19:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_REVERSE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/TableLayout.hxx:19:11: warning: Member variable 'TableLayout::columns' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/TableLayout.cxx:32:9: style: Variable 'c' can be declared as reference to const [constVariableReference] ncmpc-0.52/src/TableLayout.cxx:53:9: style: Variable 'c' can be declared as reference to const [constVariableReference] ncmpc-0.52/src/TablePaint.cxx:24:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIST [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/TableStructure.cxx:18:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable min_width [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/TableStructure.cxx:32:9: style: Variable 'c' can be declared as reference to const [constVariableReference] ncmpc-0.52/src/TagFilter.cxx:24:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_OPERATOR_DEFAULT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/TagFilter.cxx:12:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ncmpc-0.52/src/page/ListPage.hxx:12:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] ncmpc-0.52/src/TagListPage.cxx:51:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/TagListPage.cxx:150:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_IDLE_DATABASE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/TagListPage.cxx:189:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/TagListPage.cxx:47:18: style:inconclusive: Function 'GetListItemText' argument 2 names different: declaration 'i' definition 'idx'. [funcArgNamesDifferent] ncmpc-0.52/src/TagListPage.hxx:111:16: note: Function 'GetListItemText' argument 2 names different: declaration 'i' definition 'idx'. ncmpc-0.52/src/TagListPage.cxx:47:18: note: Function 'GetListItemText' argument 2 names different: declaration 'i' definition 'idx'. ncmpc-0.52/src/TagListPage.hxx:33:14: performance:inconclusive: Function parameter '_window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/TagListPage.cxx:113:41: performance:inconclusive: Function parameter 'window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/TagListPage.cxx:173:8: style: Variable 'connection' can be declared as pointer to const [constVariablePointer] ncmpc-0.52/src/TitleBar.cxx:85:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/TitleBar.cxx:21:11: warning: Member variable 'TitleBar::volume' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/TitleBar.cxx:21:11: warning: Member variable 'TitleBar::flags' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/client/aconnect.cxx:77:58: style:inconclusive: Function 'OnSocketConnectError' argument 1 names different: declaration 'ep' definition 'e'. [funcArgNamesDifferent] ncmpc-0.52/src/client/aconnect.cxx:38:47: note: Function 'OnSocketConnectError' argument 1 names different: declaration 'ep' definition 'e'. ncmpc-0.52/src/client/aconnect.cxx:77:58: note: Function 'OnSocketConnectError' argument 1 names different: declaration 'ep' definition 'e'. ncmpc-0.52/src/client/gidle.cxx:51:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_MALFORMED [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/gidle.cxx:92:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SUCCESS [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/gidle.cxx:107:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/gidle.cxx:135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ASYNC_EVENT_READ [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/gidle.cxx:177:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SUCCESS [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/gidle.cxx:13:16: warning: Member variable 'MpdIdleSource::idle_events' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/client/mpdclient.cxx:31:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SERVER [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SUCCESS [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:89:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SUCCESS [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:110:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SUCCESS [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:228:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_STATE_UNKNOWN [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:274:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_TAG_UNKNOWN [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:324:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_TAG_COUNT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:341:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SUCCESS [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:451:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:475:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_STATE_PLAY [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_IDLE_QUEUE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:666:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_IDLE_QUEUE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:722:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_IDLE_QUEUE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:770:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_IDLE_QUEUE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:820:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_IDLE_QUEUE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:888:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ENTITY_TYPE_SONG [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/client/mpdclient.cxx:521:14: style: Condition 'source!=nullptr' is always true [knownConditionTrueFalse] ncmpc-0.52/src/client/mpdclient.cxx:51:28: style:inconclusive: Function 'OnIdle' argument 1 names different: declaration 'events' definition '_events'. [funcArgNamesDifferent] ncmpc-0.52/src/client/mpdclient.hxx:371:23: note: Function 'OnIdle' argument 1 names different: declaration 'events' definition '_events'. ncmpc-0.52/src/client/mpdclient.cxx:51:28: note: Function 'OnIdle' argument 1 names different: declaration 'events' definition '_events'. ncmpc-0.52/src/client/mpdclient.cxx:140:33: style:inconclusive: Function 'mpdclient' argument 1 names different: declaration '_event_loop' definition 'event_loop'. [funcArgNamesDifferent] ncmpc-0.52/src/client/mpdclient.hxx:163:23: note: Function 'mpdclient' argument 1 names different: declaration '_event_loop' definition 'event_loop'. ncmpc-0.52/src/client/mpdclient.cxx:140:33: note: Function 'mpdclient' argument 1 names different: declaration '_event_loop' definition 'event_loop'. ncmpc-0.52/src/client/mpdclient.cxx:141:20: style:inconclusive: Function 'mpdclient' argument 2 names different: declaration 'host' definition '_host'. [funcArgNamesDifferent] ncmpc-0.52/src/client/mpdclient.hxx:164:17: note: Function 'mpdclient' argument 2 names different: declaration 'host' definition '_host'. ncmpc-0.52/src/client/mpdclient.cxx:141:20: note: Function 'mpdclient' argument 2 names different: declaration 'host' definition '_host'. ncmpc-0.52/src/client/mpdclient.cxx:141:36: style:inconclusive: Function 'mpdclient' argument 3 names different: declaration 'port' definition '_port'. [funcArgNamesDifferent] ncmpc-0.52/src/client/mpdclient.hxx:164:32: note: Function 'mpdclient' argument 3 names different: declaration 'port' definition '_port'. ncmpc-0.52/src/client/mpdclient.cxx:141:36: note: Function 'mpdclient' argument 3 names different: declaration 'port' definition '_port'. ncmpc-0.52/src/client/mpdclient.cxx:614:31: style:inconclusive: Function 'RunVolume' argument 1 names different: declaration 'new_volume' definition 'value'. [funcArgNamesDifferent] ncmpc-0.52/src/client/mpdclient.hxx:332:26: note: Function 'RunVolume' argument 1 names different: declaration 'new_volume' definition 'value'. ncmpc-0.52/src/client/mpdclient.cxx:614:31: note: Function 'RunVolume' argument 1 names different: declaration 'new_volume' definition 'value'. ncmpc-0.52/src/client/mpdclient.cxx:640:57: style:inconclusive: Function 'mpdclient_cmd_add_path' argument 2 names different: declaration 'path' definition 'path_utf8'. [funcArgNamesDifferent] ncmpc-0.52/src/client/mpdclient.hxx:402:57: note: Function 'mpdclient_cmd_add_path' argument 2 names different: declaration 'path' definition 'path_utf8'. ncmpc-0.52/src/client/mpdclient.cxx:640:57: note: Function 'mpdclient_cmd_add_path' argument 2 names different: declaration 'path' definition 'path_utf8'. ncmpc-0.52/src/client/mpdclient.cxx:802:29: style:inconclusive: Function 'RunMove' argument 1 names different: declaration 'dest' definition 'dest_pos'. [funcArgNamesDifferent] ncmpc-0.52/src/client/mpdclient.hxx:340:24: note: Function 'RunMove' argument 1 names different: declaration 'dest' definition 'dest_pos'. ncmpc-0.52/src/client/mpdclient.cxx:802:29: note: Function 'RunMove' argument 1 names different: declaration 'dest' definition 'dest_pos'. ncmpc-0.52/src/client/mpdclient.cxx:802:48: style:inconclusive: Function 'RunMove' argument 2 names different: declaration 'src' definition 'src_pos'. [funcArgNamesDifferent] ncmpc-0.52/src/client/mpdclient.hxx:340:39: note: Function 'RunMove' argument 2 names different: declaration 'src' definition 'src_pos'. ncmpc-0.52/src/client/mpdclient.cxx:802:48: note: Function 'RunMove' argument 2 names different: declaration 'src' definition 'src_pos'. ncmpc-0.52/src/dialogs/KeyDialog.cxx:17:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_colors [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/KeyDialog.cxx:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_colors [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/KeyDialog.cxx:46:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_CANCEL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/KeyDialog.cxx:28:31: performance:inconclusive: Function parameter 'window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/dialogs/TextInputDialog.cxx:211:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_colors [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/TextInputDialog.cxx:232:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_RETURN [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/TextInputDialog.cxx:389:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_colors [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/TextInputDialog.cxx:159:59: performance:inconclusive: Function parameter 'window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/dialogs/TextInputDialog.cxx:207:39: performance:inconclusive: Function parameter 'window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/dialogs/TextInputDialog.cxx:230:37: performance:inconclusive: Function parameter 'window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/dialogs/TextInputDialog.cxx:387:37: performance:inconclusive: Function parameter 'window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/dialogs/YesNoDialog.cxx:22:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_colors [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/YesNoDialog.cxx:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enable_colors [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/YesNoDialog.cxx:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KEY_CANCEL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/YesNoDialog.cxx:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES_TRANSLATION [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/dialogs/YesNoDialog.cxx:33:33: performance:inconclusive: Function parameter 'window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/event/PollResultGeneric.hxx:25:3: warning: Member variable 'Item::events' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/event/PollResultGeneric.hxx:25:3: warning: Member variable 'Item::obj' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/event/Loop.hxx:360:7: performance:inconclusive: Technically the member function 'EventLoop::IsInside' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/event/Loop.cxx:20:12: warning: Member variable 'EventLoop::again' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/event/Loop.cxx:58:12: performance:inconclusive: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/event/Loop.hxx:200:7: note: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). ncmpc-0.52/src/event/Loop.cxx:58:12: note: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). ncmpc-0.52/src/event/Loop.cxx:330:25: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/event/PollBackend.cxx:57:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/event/SignalMonitor.cxx:146:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/event/SocketEvent.cxx:16:36: style:inconclusive: Function 'Open' argument 1 names different: declaration 'fd' definition '_fd'. [funcArgNamesDifferent] ncmpc-0.52/src/event/SocketEvent.hxx:90:29: note: Function 'Open' argument 1 names different: declaration 'fd' definition '_fd'. ncmpc-0.52/src/event/SocketEvent.cxx:16:36: note: Function 'Open' argument 1 names different: declaration 'fd' definition '_fd'. ncmpc-0.52/src/event/WinSelectBackend.hxx:41:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/event/WinSelectBackend.cxx:53:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/event/WinSelectBackend.cxx:140:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKET_ERROR [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/event/WinSelectBackend.cxx:20:53: style: Parameter 'item' can be declared as reference to const [constParameterReference] ncmpc-0.52/src/event/net/ConnectSocket.cxx:47:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/event/net/ConnectSocket.cxx:124:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/event/net/ConnectSocket.cxx:44:29: performance:inconclusive: Function parameter 'address' should be passed by const reference. [passedByValue] ncmpc-0.52/src/event/net/ConnectSocket.cxx:60:44: performance:inconclusive: Function parameter 'address' should be passed by const reference. [passedByValue] ncmpc-0.52/src/filelist.cxx:95:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ENTITY_TYPE_SONG [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/filelist.cxx:119:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ENTITY_TYPE_SONG [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/filelist.cxx:139:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ENTITY_TYPE_DIRECTORY [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/filelist.cxx:115:9: style: Variable 'entry' can be declared as reference to const [constVariableReference] ncmpc-0.52/src/filelist.cxx:135:9: style: Variable 'entry' can be declared as reference to const [constVariableReference] ncmpc-0.52/src/filelist.cxx:78:11: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] ncmpc-0.52/src/hscroll.cxx:19:40: style:inconclusive: Function 'Set' argument 2 names different: declaration 'width' definition '_width'. [funcArgNamesDifferent] ncmpc-0.52/src/hscroll.hxx:58:37: note: Function 'Set' argument 2 names different: declaration 'width' definition '_width'. ncmpc-0.52/src/hscroll.cxx:19:40: note: Function 'Set' argument 2 names different: declaration 'width' definition '_width'. ncmpc-0.52/src/hscroll.cxx:19:65: style:inconclusive: Function 'Set' argument 3 names different: declaration 'text' definition '_text'. [funcArgNamesDifferent] ncmpc-0.52/src/hscroll.hxx:58:61: note: Function 'Set' argument 3 names different: declaration 'text' definition '_text'. ncmpc-0.52/src/hscroll.cxx:19:65: note: Function 'Set' argument 3 names different: declaration 'text' definition '_text'. ncmpc-0.52/src/hscroll.cxx:20:13: style:inconclusive: Function 'Set' argument 4 names different: declaration 'style' definition '_style'. [funcArgNamesDifferent] ncmpc-0.52/src/hscroll.hxx:59:10: note: Function 'Set' argument 4 names different: declaration 'style' definition '_style'. ncmpc-0.52/src/hscroll.cxx:20:13: note: Function 'Set' argument 4 names different: declaration 'style' definition '_style'. ncmpc-0.52/src/hscroll.cxx:20:28: style:inconclusive: Function 'Set' argument 5 names different: declaration 'attr' definition '_attr'. [funcArgNamesDifferent] ncmpc-0.52/src/hscroll.hxx:59:24: note: Function 'Set' argument 5 names different: declaration 'attr' definition '_attr'. ncmpc-0.52/src/hscroll.cxx:20:28: note: Function 'Set' argument 5 names different: declaration 'attr' definition '_attr'. ncmpc-0.52/src/io/FileDescriptor.cxx:39:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/FileDescriptor.cxx:98:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/FileDescriptor.cxx:179:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/FileDescriptor.cxx:188:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/FileDescriptor.cxx:197:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/FileDescriptor.cxx:206:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/FileDescriptor.cxx:321:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/FileDescriptor.cxx:327:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLOUT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/FileDescriptor.hxx:201:23: error: Invalid ::close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] ncmpc-0.52/src/io/FileDescriptor.hxx:201:23: note: Calling function 'Steal' returns -1 ncmpc-0.52/src/io/FileDescriptor.hxx:201:23: note: Invalid argument ncmpc-0.52/src/io/FileDescriptor.hxx:32:2: warning: Member variable 'FileDescriptor::fd' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/io/FileDescriptor.hxx:136:7: performance:inconclusive: Technically the member function 'FileDescriptor::SetBinaryMode' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:50:7: warning: The class 'UniqueFileDescriptor' defines member function with name 'Set' also defined in its parent class 'FileDescriptor'. [duplInheritedMember] ncmpc-0.52/src/io/FileDescriptor.hxx:79:7: note: Parent function 'FileDescriptor::Set' ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:50:7: note: Derived function 'UniqueFileDescriptor::Set' ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:68:14: warning: The class 'UniqueFileDescriptor' defines member function with name 'CreatePipe' also defined in its parent class 'FileDescriptor'. [duplInheritedMember] ncmpc-0.52/src/io/FileDescriptor.cxx:126:17: note: Parent function 'FileDescriptor::CreatePipe' ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:68:14: note: Derived function 'UniqueFileDescriptor::CreatePipe' ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:71:7: warning: The class 'UniqueFileDescriptor' defines member function with name 'Close' also defined in its parent class 'FileDescriptor'. [duplInheritedMember] ncmpc-0.52/src/io/FileDescriptor.hxx:200:7: note: Parent function 'FileDescriptor::Close' ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:71:7: note: Derived function 'UniqueFileDescriptor::Close' ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:46:25: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/lirc.cxx:31:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/lirc.cxx:24:33: style:inconclusive: Function 'LircInput' argument 1 names different: declaration 'event_loop' definition '_event_loop'. [funcArgNamesDifferent] ncmpc-0.52/src/lirc.hxx:18:23: note: Function 'LircInput' argument 1 names different: declaration 'event_loop' definition '_event_loop'. ncmpc-0.52/src/lirc.cxx:24:33: note: Function 'LircInput' argument 1 names different: declaration 'event_loop' definition '_event_loop'. ncmpc-0.52/src/net/SocketAddress.hxx:94:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketAddress.hxx:98:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AddressInfo.hxx:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ai_family [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AddressInfo.hxx:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ai_socktype [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AddressInfo.hxx:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ai_protocol [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AddressInfo.hxx:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ai_family [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AddressInfo.hxx:52:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AddressInfo.hxx:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ai_addr [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketAddress.hxx:43:2: warning: Member variable 'SocketAddress::address' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/net/SocketAddress.hxx:43:2: warning: Member variable 'SocketAddress::size' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/net/AddressInfo.hxx:139:17: performance:inconclusive: Technically the member function 'AddressInfoList::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/net/SocketAddress.hxx:53:12: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/SocketAddress.hxx:53:37: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/AddressInfo.hxx:92:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/net/AddressInfo.hxx:127:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/net/AddressInfo.hxx:131:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/net/AllocatedSocketAddress.hxx:104:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AllocatedSocketAddress.hxx:114:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv4Address.hxx:73:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv4Address.hxx:120:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_LOOPBACK [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv4Address.hxx:160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv4Address.hxx:192:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_addr [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv6Address.hxx:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv6Address.hxx:128:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv6Address.hxx:132:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:52:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:71:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv4Address.hxx:91:12: style: Class 'IPv4Address' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ncmpc-0.52/src/net/IPv4Address.hxx:139:11: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv4Address.hxx:139:32: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv4Address.hxx:151:24: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv4Address.hxx:151:49: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv6Address.hxx:107:11: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv6Address.hxx:107:32: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv6Address.hxx:119:24: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv6Address.hxx:119:49: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:35:12: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:93:15: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:93:30: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:100:15: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:100:30: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:51:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:70:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/net/LocalSocketAddress.hxx:60:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/LocalSocketAddress.hxx:64:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/LocalSocketAddress.hxx:71:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/LocalSocketAddress.hxx:107:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/LocalSocketAddress.hxx:28:12: warning: Member variable 'LocalSocketAddress::size' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/net/LocalSocketAddress.hxx:32:3: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] ncmpc-0.52/src/net/LocalSocketAddress.hxx:40:29: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/LocalSocketAddress.hxx:44:35: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/LocalSocketAddress.hxx:74:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/net/IPv4Address.cxx:12:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv6Address.cxx:15:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv6Address.cxx:24:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in6addr_any [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv6Address.cxx:33:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/IPv6Address.cxx:34:28: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv6Address.cxx:56:14: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv6Address.cxx:56:29: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/IPv6Address.cxx:56:47: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/Resolver.cxx:46:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_PASSIVE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/Resolver.cxx:123:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketAddress.cxx:37:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_LOCAL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketAddress.cxx:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketAddress.cxx:79:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketAddress.cxx:42:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/net/SocketDescriptor.hxx:64:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/StaticSocketAddress.hxx:89:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/StaticSocketAddress.hxx:94:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/StaticSocketAddress.hxx:98:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/UniqueSocketDescriptor.hxx:67:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/UniqueSocketDescriptor.hxx:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:44:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:210:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:220:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:296:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:438:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:451:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:515:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:526:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:583:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:603:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_DONTWAIT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:619:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:625:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RD [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketDescriptor.cxx:631:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/StaticSocketAddress.hxx:29:12: warning: Member variable 'StaticSocketAddress::size' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/net/PeerCredentials.hxx:44:17: performance:inconclusive: Technically the member function 'SocketPeerCredentials::IsDefined' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/net/PeerCredentials.hxx:55:17: performance:inconclusive: Technically the member function 'SocketPeerCredentials::GetPid' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/net/PeerCredentials.hxx:63:17: performance:inconclusive: Technically the member function 'SocketPeerCredentials::GetUid' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/net/PeerCredentials.hxx:73:17: performance:inconclusive: Technically the member function 'SocketPeerCredentials::GetGid' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/net/UniqueSocketDescriptor.hxx:78:25: warning: The class 'UniqueSocketDescriptor' defines member function with name 'AcceptNonBlock' also defined in its parent class 'SocketDescriptor'. [duplInheritedMember] ncmpc-0.52/src/net/SocketDescriptor.cxx:82:19: note: Parent function 'SocketDescriptor::AcceptNonBlock' ncmpc-0.52/src/net/UniqueSocketDescriptor.hxx:78:25: note: Derived function 'UniqueSocketDescriptor::AcceptNonBlock' ncmpc-0.52/src/net/UniqueSocketDescriptor.hxx:85:25: warning: The class 'UniqueSocketDescriptor' defines member function with name 'AcceptNonBlock' also defined in its parent class 'SocketDescriptor'. [duplInheritedMember] ncmpc-0.52/src/net/SocketDescriptor.cxx:96:19: note: Parent function 'SocketDescriptor::AcceptNonBlock' ncmpc-0.52/src/net/UniqueSocketDescriptor.hxx:85:25: note: Derived function 'UniqueSocketDescriptor::AcceptNonBlock' ncmpc-0.52/src/net/StaticSocketAddress.hxx:42:29: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/StaticSocketAddress.hxx:46:35: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/UniqueSocketDescriptor.hxx:56:25: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/SocketDescriptor.cxx:220:37: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/SocketDescriptor.cxx:296:37: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/SocketDescriptor.cxx:460:23: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/SocketDescriptor.cxx:487:23: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/MsgHdr.hxx:41:33: style: Parameter 'name' can be declared as reference to const [constParameterReference] ncmpc-0.52/src/net/SocketError.hxx:23:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketError.hxx:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINPROGRESS [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketError.hxx:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EWOULDBLOCK [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketError.hxx:109:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketError.hxx:119:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPIPE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/SocketError.hxx:129:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/net/StaticSocketAddress.cxx:28:15: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/StaticSocketAddress.cxx:28:30: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/StaticSocketAddress.cxx:35:15: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/net/StaticSocketAddress.cxx:35:30: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/page/FindSupport.cxx:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable find_show_last_pattern [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/page/FindSupport.cxx:55:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIST_RFIND [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/page/FindSupport.cxx:82:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fragile [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/page/FindSupport.cxx:24:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/page/FindSupport.cxx:24:56: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/page/FindSupport.cxx:45:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/page/FindSupport.cxx:80:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] ncmpc-0.52/src/page/ProxyPage.hxx:11:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] ncmpc-0.52/src/page/ProxyPage.hxx:19:58: performance:inconclusive: Function parameter '_window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/page/TextPage.cxx:67:60: style:inconclusive: Function 'GetListItemText' argument 2 names different: declaration 'i' definition 'idx'. [funcArgNamesDifferent] ncmpc-0.52/src/page/TextPage.hxx:56:16: note: Function 'GetListItemText' argument 2 names different: declaration 'i' definition 'idx'. ncmpc-0.52/src/page/TextPage.cxx:67:60: note: Function 'GetListItemText' argument 2 names different: declaration 'i' definition 'idx'. ncmpc-0.52/src/page/TextPage.cxx:15:51: performance:inconclusive: Function parameter 'window' should be passed by const reference. [passedByValue] ncmpc-0.52/src/player_command.cxx:31:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_STATE_PAUSE [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/plugin.cxx:275:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:68:14: warning: The class 'UniqueFileDescriptor' defines member function with name 'CreatePipe' also defined in its parent class 'FileDescriptor'. [duplInheritedMember] ncmpc-0.52/src/io/FileDescriptor.hxx:125:14: note: Parent function 'FileDescriptor::CreatePipe' ncmpc-0.52/src/io/UniqueFileDescriptor.hxx:68:14: note: Derived function 'UniqueFileDescriptor::CreatePipe' ncmpc-0.52/src/plugin.cxx:299:28: style: C-style pointer casting [cstyleCast] ncmpc-0.52/src/plugin.cxx:365:26: style:inconclusive: Function 'plugin_stop' argument 1 names different: declaration 'invocation' definition 'cycle'. [funcArgNamesDifferent] ncmpc-0.52/src/plugin.hxx:68:26: note: Function 'plugin_stop' argument 1 names different: declaration 'invocation' definition 'cycle'. ncmpc-0.52/src/plugin.cxx:365:26: note: Function 'plugin_stop' argument 1 names different: declaration 'invocation' definition 'cycle'. ncmpc-0.52/src/screen_client.cxx:23:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_ERROR_SERVER [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/screen_list.cxx:68:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ncmpc-0.52/src/screen_list.cxx:84:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] ncmpc-0.52/src/strfsong.cxx:164:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_TAG_UNKNOWN [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/strfsong.cxx:281:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPD_TAG_ALBUM_ARTIST [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/strfsong.cxx:51:2: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] ncmpc-0.52/src/TagMask.hxx:25:2: warning: Member variable 'TagMask::value' is not initialized in the constructor. [uninitMemberVar] ncmpc-0.52/src/TagMask.hxx:27:12: style: Class 'TagMask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] ncmpc-0.52/src/strfsong.cxx:166:8: style: The scope of the variable 'buffer' can be reduced. [variableScope] ncmpc-0.52/src/strfsong.cxx:45:36: style: Parameter 'dest_end' can be declared as pointer to const [constParameterPointer] ncmpc-0.52/src/strfsong.cxx:288:9: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] ncmpc-0.52/src/system/EpollFD.hxx:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_ADD [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/system/EpollFD.hxx:52:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_MOD [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/system/EpollFD.hxx:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPOLL_CTL_DEL [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/system/Error.hxx:86:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/system/Error.hxx:104:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/system/Error.hxx:115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTDIR [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/system/Error.hxx:126:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/system/SignalFD.cxx:15:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFD_NONBLOCK [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/time_format.cxx:16:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/time_format.cxx:27:25: style: Variable 'bytes_written' is assigned a value that is never used. [unreadVariable] ncmpc-0.52/src/ui/ListCursor.cxx:53:32: style:inconclusive: Function 'SetLength' argument 1 names different: declaration 'length' definition '_length'. [funcArgNamesDifferent] ncmpc-0.52/src/ui/ListCursor.hxx:172:26: note: Function 'SetLength' argument 1 names different: declaration 'length' definition '_length'. ncmpc-0.52/src/ui/ListCursor.cxx:53:32: note: Function 'SetLength' argument 1 names different: declaration 'length' definition '_length'. ncmpc-0.52/src/ui/TextListRenderer.cxx:14:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIST [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/util/LocaleString.cxx:19:33: style:inconclusive: Function 'StringLengthMB' argument 1 names different: declaration 's' definition '_s'. [funcArgNamesDifferent] ncmpc-0.52/src/util/LocaleString.hxx:24:33: note: Function 'StringLengthMB' argument 1 names different: declaration 's' definition '_s'. ncmpc-0.52/src/util/LocaleString.cxx:19:33: note: Function 'StringLengthMB' argument 1 names different: declaration 's' definition '_s'. ncmpc-0.52/src/util/LocaleString.cxx:76:27: style:inconclusive: Function 'AtCharMB' argument 1 names different: declaration 's' definition '_s'. [funcArgNamesDifferent] ncmpc-0.52/src/util/LocaleString.hxx:51:27: note: Function 'AtCharMB' argument 1 names different: declaration 's' definition '_s'. ncmpc-0.52/src/util/LocaleString.cxx:76:27: note: Function 'AtCharMB' argument 1 names different: declaration 's' definition '_s'. ncmpc-0.52/src/util/LocaleString.cxx:103:32: style:inconclusive: Function 'StringWidthMB' argument 1 names different: declaration 's' definition '_s'. [funcArgNamesDifferent] ncmpc-0.52/src/util/LocaleString.hxx:66:32: note: Function 'StringWidthMB' argument 1 names different: declaration 's' definition '_s'. ncmpc-0.52/src/util/LocaleString.cxx:103:32: note: Function 'StringWidthMB' argument 1 names different: declaration 's' definition '_s'. ncmpc-0.52/src/util/LocaleString.cxx:130:28: style:inconclusive: Function 'AtWidthMB' argument 1 names different: declaration 's' definition '_s'. [funcArgNamesDifferent] ncmpc-0.52/src/util/LocaleString.hxx:75:28: note: Function 'AtWidthMB' argument 1 names different: declaration 's' definition '_s'. ncmpc-0.52/src/util/LocaleString.cxx:130:28: note: Function 'AtWidthMB' argument 1 names different: declaration 's' definition '_s'. ncmpc-0.52/src/util/PrintException.cxx:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/util/PrintException.cxx:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ncmpc-0.52/src/xterm_title.cxx:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] ncmpc-0.52/test/run_hscroll.cxx:19:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diff: head ncmpc-0.52/src/Bindings.cxx:41:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] head ncmpc-0.52/src/LyricsCache.cxx:158:14: style:inconclusive: Technically the member function 'LyricsCache::Delete' can be const. [functionConst] ncmpc-0.52/src/LyricsCache.hxx:37:7: note: Technically the member function 'LyricsCache::Delete' can be const. ncmpc-0.52/src/LyricsCache.cxx:158:14: note: Technically the member function 'LyricsCache::Delete' can be const. 2.17.0 ncmpc-0.52/src/LyricsCache.hxx:37:7: style:inconclusive: Technically the member function 'LyricsCache::Delete' can be const. [functionConst] ncmpc-0.52/src/LyricsCache.cxx:158:14: note: Technically the member function 'LyricsCache::Delete' can be const. ncmpc-0.52/src/LyricsCache.hxx:37:7: note: Technically the member function 'LyricsCache::Delete' can be const. 2.17.0 ncmpc-0.52/src/client/aconnect.cxx:43:1: error: syntax error: keyword 'try' is not allowed in global scope [syntaxError] head ncmpc-0.52/src/client/aconnect.cxx:77:58: style:inconclusive: Function 'OnSocketConnectError' argument 1 names different: declaration 'ep' definition 'e'. [funcArgNamesDifferent] ncmpc-0.52/src/client/aconnect.cxx:38:47: note: Function 'OnSocketConnectError' argument 1 names different: declaration 'ep' definition 'e'. ncmpc-0.52/src/client/aconnect.cxx:77:58: note: Function 'OnSocketConnectError' argument 1 names different: declaration 'ep' definition 'e'. head ncmpc-0.52/src/co/Compat.hxx:26:2: error: #error Need -fcoroutines [preprocessorErrorDirective] head ncmpc-0.52/src/event/Loop.cxx:58:12: performance:inconclusive: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/event/Loop.hxx:200:7: note: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). ncmpc-0.52/src/event/Loop.cxx:58:12: note: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). 2.17.0 ncmpc-0.52/src/event/Loop.hxx:200:7: performance:inconclusive: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). [functionStatic] ncmpc-0.52/src/event/Loop.cxx:58:12: note: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). ncmpc-0.52/src/event/Loop.hxx:200:7: note: Technically the member function 'EventLoop::SetVolatile' can be static (but you may consider moving to unnamed namespace). head ncmpc-0.52/src/net/AddressInfo.hxx:127:12: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/net/AddressInfo.hxx:127:13: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/AddressInfo.hxx:131:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head ncmpc-0.52/src/net/AddressInfo.hxx:92:11: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/net/AddressInfo.hxx:92:12: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:100:30: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:35:12: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:35:13: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:51:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:51:9: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:70:8: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:70:9: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/AllocatedSocketAddress.cxx:93:30: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/AsyncResolveConnect.cxx:17:19: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] head ncmpc-0.52/src/net/IPv4Address.hxx:139:11: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/IPv4Address.hxx:139:12: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv4Address.hxx:139:32: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv4Address.hxx:151:24: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/IPv4Address.hxx:151:31: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv4Address.hxx:151:49: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv6Address.cxx:34:28: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/IPv6Address.cxx:34:29: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv6Address.cxx:56:29: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv6Address.cxx:56:47: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv6Address.hxx:107:11: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/IPv6Address.hxx:107:12: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv6Address.hxx:107:32: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv6Address.hxx:119:24: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/IPv6Address.hxx:119:31: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/IPv6Address.hxx:119:49: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/LocalSocketAddress.hxx:44:35: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/LocalSocketAddress.hxx:44:36: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/LocalSocketAddress.hxx:74:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/net/LocalSocketAddress.hxx:74:23: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/SocketAddress.cxx:42:21: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/net/SocketAddress.cxx:42:22: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/SocketAddress.hxx:45:12: style: Class 'SocketAddress' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head ncmpc-0.52/src/net/SocketAddress.hxx:53:12: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/SocketAddress.hxx:53:19: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/SocketAddress.hxx:53:37: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/SocketDescriptor.cxx:296:37: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/SocketDescriptor.cxx:296:38: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/SocketDescriptor.cxx:487:23: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/SocketDescriptor.cxx:487:24: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/StaticSocketAddress.cxx:28:30: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/net/StaticSocketAddress.cxx:35:30: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/StaticSocketAddress.hxx:132:7: style:inconclusive: Technically the member function 'StaticSocketAddress::SetPort' can be const. [functionConst] ncmpc-0.52/src/net/StaticSocketAddress.cxx:23:22: note: Technically the member function 'StaticSocketAddress::SetPort' can be const. ncmpc-0.52/src/net/StaticSocketAddress.hxx:132:7: note: Technically the member function 'StaticSocketAddress::SetPort' can be const. head ncmpc-0.52/src/net/StaticSocketAddress.hxx:46:35: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/net/StaticSocketAddress.hxx:46:36: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/page/FindSupport.cxx:24:41: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/page/FindSupport.cxx:24:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head ncmpc-0.52/src/page/FindSupport.cxx:24:56: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/page/FindSupport.cxx:45:41: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/page/FindSupport.cxx:45:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/page/FindSupport.cxx:80:3: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/page/FindSupport.cxx:80:3: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.17.0 ncmpc-0.52/src/page/ProxyPage.cxx:107:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_page [valueFlowBailoutIncompleteVar] 2.17.0 ncmpc-0.52/src/plugin.cxx:160:25: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head ncmpc-0.52/src/plugin.cxx:299:28: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/plugin.cxx:299:29: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/util/ScopeExit.hxx:48:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F [valueFlowBailoutIncompleteVar] head ncmpc-0.52/src/util/StringStrip.hxx:23:38: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/util/StringStrip.hxx:23:39: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/util/StringStrip.hxx:52:39: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/util/StringStrip.hxx:52:40: style: C-style pointer casting [cstyleCast] head ncmpc-0.52/src/util/StringStrip.hxx:53:11: style: C-style pointer casting [cstyleCast] 2.17.0 ncmpc-0.52/src/util/StringStrip.hxx:53:12: style: C-style pointer casting [cstyleCast] DONE