2025-04-03 22:55 ftp://ftp.de.debian.org/debian/pool/main/z/zutty/zutty_0.16.2.20241020+dfsg1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.66 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 610386c (2025-04-03 20:19:17 +0200) count: 136 136 elapsed-time: 0.6 0.6 head-timing-info: old-timing-info: head results: zutty-0.16.2.20241020+dfsg1/src/charvdev.cc:22:43: error: syntax error [syntaxError] zutty-0.16.2.20241020+dfsg1/src/base.h:35:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/log.h:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/log.h:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/log.h:111:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hex [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/font.cc:83:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/font.cc:196:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/font.cc:272:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/font.cc:318:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FT_LOAD_RENDER [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/fontpack.cc:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/fontpack.cc:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/fontpack.cc:185:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/frame.cc:332:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/font.cc:206:22: warning: Return value of function oss.str() is not used. [ignoredReturnValue] zutty-0.16.2.20241020+dfsg1/src/font.cc:60:15: style:inconclusive: Technically the member function 'zutty::Font::isLoadableChar' can be const. [functionConst] zutty-0.16.2.20241020+dfsg1/src/font.h:104:12: note: Technically the member function 'zutty::Font::isLoadableChar' can be const. zutty-0.16.2.20241020+dfsg1/src/font.cc:60:15: note: Technically the member function 'zutty::Font::isLoadableChar' can be const. zutty-0.16.2.20241020+dfsg1/src/utf8.h:60:7: style: Class 'Utf8Decoder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zutty-0.16.2.20241020+dfsg1/src/font.cc:26:35: style:inconclusive: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/font.h:33:41: note: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. zutty-0.16.2.20241020+dfsg1/src/font.cc:26:35: note: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. zutty-0.16.2.20241020+dfsg1/src/font.cc:33:35: style:inconclusive: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/font.h:45:32: note: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. zutty-0.16.2.20241020+dfsg1/src/font.cc:33:35: note: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. zutty-0.16.2.20241020+dfsg1/src/font.cc:49:35: style:inconclusive: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/font.h:55:32: note: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. zutty-0.16.2.20241020+dfsg1/src/font.cc:49:35: note: Function 'Font' argument 1 names different: declaration 'filename' definition 'filename_'. zutty-0.16.2.20241020+dfsg1/src/font.cc:125:37: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] zutty-0.16.2.20241020+dfsg1/src/charvdev.h:53:10: warning: Member variable 'Cell::_fill0' is not initialized in the constructor. [uninitMemberVar] zutty-0.16.2.20241020+dfsg1/src/charvdev.h:53:10: warning: Member variable 'Cell::_fill1' is not initialized in the constructor. [uninitMemberVar] zutty-0.16.2.20241020+dfsg1/src/charvdev.h:53:10: warning: Member variable 'Cell::_fill2' is not initialized in the constructor. [uninitMemberVar] zutty-0.16.2.20241020+dfsg1/src/frame.cc:17:11: warning:inconclusive: Member variable 'Frame::scrollHead' is not initialized in the constructor. [uninitMemberVar] zutty-0.16.2.20241020+dfsg1/src/frame.cc:17:11: warning:inconclusive: Member variable 'Frame::marginTop' is not initialized in the constructor. [uninitMemberVar] zutty-0.16.2.20241020+dfsg1/src/frame.cc:17:11: warning:inconclusive: Member variable 'Frame::marginBottom' is not initialized in the constructor. [uninitMemberVar] zutty-0.16.2.20241020+dfsg1/src/frame.cc:17:11: warning:inconclusive: Member variable 'Frame::historyRows' is not initialized in the constructor. [uninitMemberVar] zutty-0.16.2.20241020+dfsg1/src/frame.cc:17:11: warning:inconclusive: Member variable 'Frame::viewOffset' is not initialized in the constructor. [uninitMemberVar] zutty-0.16.2.20241020+dfsg1/src/frame.cc:327:11: style:inconclusive: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. [functionConst] zutty-0.16.2.20241020+dfsg1/src/frame.h:142:12: note: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. zutty-0.16.2.20241020+dfsg1/src/frame.cc:327:11: note: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. zutty-0.16.2.20241020+dfsg1/src/gl.cc:21:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_NO_ERROR [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/frame.cc:117:49: style:inconclusive: Function 'fullCopyCells' argument 1 names different: declaration 'dest' definition 'dst'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/frame.h:38:50: note: Function 'fullCopyCells' argument 1 names different: declaration 'dest' definition 'dst'. zutty-0.16.2.20241020+dfsg1/src/frame.cc:117:49: note: Function 'fullCopyCells' argument 1 names different: declaration 'dest' definition 'dst'. zutty-0.16.2.20241020+dfsg1/src/frame.cc:128:50: style:inconclusive: Function 'deltaCopyCells' argument 1 names different: declaration 'dest' definition 'dst'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/frame.h:39:51: note: Function 'deltaCopyCells' argument 1 names different: declaration 'dest' definition 'dst'. zutty-0.16.2.20241020+dfsg1/src/frame.cc:128:50: note: Function 'deltaCopyCells' argument 1 names different: declaration 'dest' definition 'dst'. zutty-0.16.2.20241020+dfsg1/src/frame.cc:298:48: style:inconclusive: Function 'copyAllCells' argument 1 names different: declaration 'dest' definition 'dst'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/frame.h:129:49: note: Function 'copyAllCells' argument 1 names different: declaration 'dest' definition 'dst'. zutty-0.16.2.20241020+dfsg1/src/frame.cc:298:48: note: Function 'copyAllCells' argument 1 names different: declaration 'dest' definition 'dst'. zutty-0.16.2.20241020+dfsg1/src/frame.cc:285:29: style: Variable 'src' can be declared as pointer to const [constVariablePointer] zutty-0.16.2.20241020+dfsg1/src/log.cc:28:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/log.cc:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/options.cc:354:29: error: There is an unknown macro here somewhere. Configuration is required. If ZUTTY_VERSION is a macro then please configure it. [unknownMacro] zutty-0.16.2.20241020+dfsg1/src/fontpack.cc:58:43: style: Parameter 'ftwbuf' can be declared as pointer to const. However it seems that 'fontFileFilter' is a callback function, if 'ftwbuf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zutty-0.16.2.20241020+dfsg1/src/fontpack.cc:302:40: note: You might need to cast the function pointer here zutty-0.16.2.20241020+dfsg1/src/fontpack.cc:58:43: note: Parameter 'ftwbuf' can be declared as pointer to const zutty-0.16.2.20241020+dfsg1/src/pty.cc:58:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/pty.cc:76:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/pty.cc:115:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/pty.cc:156:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCSWINSZ [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/pty.cc:55:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] zutty-0.16.2.20241020+dfsg1/src/pty.cc:74:21: style: Parameter 'pts_name' can be declared as pointer to const [constParameterPointer] zutty-0.16.2.20241020+dfsg1/src/renderer.cc:19:55: style:inconclusive: Function 'Renderer' argument 2 names different: declaration 'swapBuffers' definition 'swapBuffers_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/renderer.h:30:48: note: Function 'Renderer' argument 2 names different: declaration 'swapBuffers' definition 'swapBuffers_'. zutty-0.16.2.20241020+dfsg1/src/renderer.cc:19:55: note: Function 'Renderer' argument 2 names different: declaration 'swapBuffers' definition 'swapBuffers_'. zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:34:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable content [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:85:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:161:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:194:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:211:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:281:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:107:47: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:144:28: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:270:44: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:317:45: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:332:28: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/selmgr.cc:80:16: style: Variable 'cx' can be declared as reference to const [constVariableReference] zutty-0.16.2.20241020+dfsg1/src/main.cc:70:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logE [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:116:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:139:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EGL_RED_SIZE [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:293:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:380:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:405:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:452:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:462:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:493:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XBufferOverflow [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:740:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:749:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:831:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:858:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:878:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:971:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1Mask [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:990:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:1080:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:1135:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:1210:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XUrgencyHint [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:1218:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:1260:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logE [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:1272:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:1298:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:743:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:830:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:853:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alt [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:968:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NONE [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logU [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1434:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1461:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1502:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1581:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1592:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1600:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable logT [valueFlowBailoutIncompleteVar] zutty-0.16.2.20241020+dfsg1/src/main.cc:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] zutty-0.16.2.20241020+dfsg1/src/main.cc:308:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zutty-0.16.2.20241020+dfsg1/src/main.cc:318:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] zutty-0.16.2.20241020+dfsg1/src/main.cc:333:17: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] zutty-0.16.2.20241020+dfsg1/src/vterm.h:191:19: performance:inconclusive: Technically the member function 'zutty::Vterm::strInputState' can be static (but you may consider moving to unnamed namespace). [functionStatic] zutty-0.16.2.20241020+dfsg1/src/main.cc:463:17: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] zutty-0.16.2.20241020+dfsg1/src/main.cc:100:23: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/main.cc:102:23: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/main.cc:117:22: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/main.cc:204:28: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/main.cc:205:29: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/main.cc:237:45: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/main.cc:244:46: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/main.cc:447:30: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/main.cc:961:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] zutty-0.16.2.20241020+dfsg1/src/main.cc:1292:10: style: The scope of the variable 'imvalret' can be reduced. [variableScope] zutty-0.16.2.20241020+dfsg1/src/main.cc:1293:8: style: The scope of the variable 'i' can be reduced. [variableScope] zutty-0.16.2.20241020+dfsg1/src/main.cc:308:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] zutty-0.16.2.20241020+dfsg1/src/main.cc:324:10: style: Variable 'SHELL' can be declared as pointer to const [constVariablePointer] zutty-0.16.2.20241020+dfsg1/src/main.cc:333:9: style: Variable 'pwent' can be declared as pointer to const [constVariablePointer] zutty-0.16.2.20241020+dfsg1/src/main.cc:351:10: style: Variable 'permShell' can be declared as pointer to const [constVariablePointer] zutty-0.16.2.20241020+dfsg1/src/main.cc:389:33: style: Parameter 'info' can be declared as pointer to const. However it seems that 'sighandler' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zutty-0.16.2.20241020+dfsg1/src/main.cc:404:25: note: You might need to cast the function pointer here zutty-0.16.2.20241020+dfsg1/src/main.cc:389:33: note: Parameter 'info' can be declared as pointer to const zutty-0.16.2.20241020+dfsg1/src/main.cc:389:45: style: Parameter 'ucontext' can be declared as pointer to const. However it seems that 'sighandler' is a callback function, if 'ucontext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] zutty-0.16.2.20241020+dfsg1/src/main.cc:404:25: note: You might need to cast the function pointer here zutty-0.16.2.20241020+dfsg1/src/main.cc:389:45: note: Parameter 'ucontext' can be declared as pointer to const zutty-0.16.2.20241020+dfsg1/src/main.cc:1292:10: style: Variable 'imvalret' can be declared as pointer to const [constVariablePointer] zutty-0.16.2.20241020+dfsg1/src/vterm.h:333:13: style:inconclusive: Member variable 'Vterm::frame_pri' uses an uninitialized argument 'marginTop' due to the order of declarations. [initializerList] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:588:9: note: Member variable 'Vterm::frame_pri' uses an uninitialized argument 'marginTop' due to the order of declarations. zutty-0.16.2.20241020+dfsg1/src/vterm.h:333:13: note: Member variable 'Vterm::frame_pri' uses an uninitialized argument 'marginTop' due to the order of declarations. zutty-0.16.2.20241020+dfsg1/src/vterm.h:333:13: style:inconclusive: Member variable 'Vterm::frame_pri' uses an uninitialized argument 'marginBottom' due to the order of declarations. [initializerList] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:588:9: note: Member variable 'Vterm::frame_pri' uses an uninitialized argument 'marginBottom' due to the order of declarations. zutty-0.16.2.20241020+dfsg1/src/vterm.h:333:13: note: Member variable 'Vterm::frame_pri' uses an uninitialized argument 'marginBottom' due to the order of declarations. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:690:11: performance:inconclusive: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). [functionStatic] zutty-0.16.2.20241020+dfsg1/src/vterm.h:139:19: note: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). zutty-0.16.2.20241020+dfsg1/src/vterm.cc:690:11: note: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). zutty-0.16.2.20241020+dfsg1/src/vterm.cc:718:28: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:742:18: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:808:31: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:821:20: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1015:21: style: C-style pointer casting [cstyleCast] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:574:27: style:inconclusive: Function 'Vterm' argument 1 names different: declaration 'glyphPx' definition 'glyphPx_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:81:23: note: Function 'Vterm' argument 1 names different: declaration 'glyphPx' definition 'glyphPx_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:574:27: note: Function 'Vterm' argument 1 names different: declaration 'glyphPx' definition 'glyphPx_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:574:46: style:inconclusive: Function 'Vterm' argument 2 names different: declaration 'glyphPy' definition 'glyphPy_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:81:41: note: Function 'Vterm' argument 2 names different: declaration 'glyphPy' definition 'glyphPy_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:574:46: note: Function 'Vterm' argument 2 names different: declaration 'glyphPy' definition 'glyphPy_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:575:27: style:inconclusive: Function 'Vterm' argument 3 names different: declaration 'winPx' definition 'winPx_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:82:23: note: Function 'Vterm' argument 3 names different: declaration 'winPx' definition 'winPx_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:575:27: note: Function 'Vterm' argument 3 names different: declaration 'winPx' definition 'winPx_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:575:44: style:inconclusive: Function 'Vterm' argument 4 names different: declaration 'winPy' definition 'winPy_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:82:39: note: Function 'Vterm' argument 4 names different: declaration 'winPy' definition 'winPy_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:575:44: note: Function 'Vterm' argument 4 names different: declaration 'winPy' definition 'winPy_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:576:22: style:inconclusive: Function 'Vterm' argument 5 names different: declaration 'ptyFd' definition 'ptyFd_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:83:18: note: Function 'Vterm' argument 5 names different: declaration 'ptyFd' definition 'ptyFd_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:576:22: note: Function 'Vterm' argument 5 names different: declaration 'ptyFd' definition 'ptyFd_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:627:28: style:inconclusive: Function 'resize' argument 1 names different: declaration 'winPx' definition 'winPx_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:96:29: note: Function 'resize' argument 1 names different: declaration 'winPx' definition 'winPx_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:627:28: note: Function 'resize' argument 1 names different: declaration 'winPx' definition 'winPx_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:627:45: style:inconclusive: Function 'resize' argument 2 names different: declaration 'winPy' definition 'winPy_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:96:45: note: Function 'resize' argument 2 names different: declaration 'winPy' definition 'winPy_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:627:45: note: Function 'resize' argument 2 names different: declaration 'winPy' definition 'winPy_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:705:43: style:inconclusive: Function 'writePty' argument 2 names different: declaration 'modifiers' definition 'modifiers_'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:113:43: note: Function 'writePty' argument 2 names different: declaration 'modifiers' definition 'modifiers_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:705:43: note: Function 'writePty' argument 2 names different: declaration 'modifiers' definition 'modifiers_'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1019:63: style:inconclusive: Function 'processInput' argument 2 names different: declaration 'size' definition 'inputSize'. [funcArgNamesDifferent] zutty-0.16.2.20241020+dfsg1/src/vterm.h:141:64: note: Function 'processInput' argument 2 names different: declaration 'size' definition 'inputSize'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:1019:63: note: Function 'processInput' argument 2 names different: declaration 'size' definition 'inputSize'. zutty-0.16.2.20241020+dfsg1/src/vterm.cc:750:18: style: Variable 'x' can be declared as pointer to const [constVariablePointer] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:821:12: style: Variable 'ucstr' can be declared as pointer to const [constVariablePointer] diff: head zutty-0.16.2.20241020+dfsg1/src/font.cc:60:15: style:inconclusive: Technically the member function 'zutty::Font::isLoadableChar' can be const. [functionConst] zutty-0.16.2.20241020+dfsg1/src/font.h:104:12: note: Technically the member function 'zutty::Font::isLoadableChar' can be const. zutty-0.16.2.20241020+dfsg1/src/font.cc:60:15: note: Technically the member function 'zutty::Font::isLoadableChar' can be const. 2.17.0 zutty-0.16.2.20241020+dfsg1/src/font.h:104:12: style:inconclusive: Technically the member function 'zutty::Font::isLoadableChar' can be const. [functionConst] zutty-0.16.2.20241020+dfsg1/src/font.cc:60:15: note: Technically the member function 'zutty::Font::isLoadableChar' can be const. zutty-0.16.2.20241020+dfsg1/src/font.h:104:12: note: Technically the member function 'zutty::Font::isLoadableChar' can be const. head zutty-0.16.2.20241020+dfsg1/src/frame.cc:327:11: style:inconclusive: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. [functionConst] zutty-0.16.2.20241020+dfsg1/src/frame.h:142:12: note: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. zutty-0.16.2.20241020+dfsg1/src/frame.cc:327:11: note: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. 2.17.0 zutty-0.16.2.20241020+dfsg1/src/frame.h:142:12: style:inconclusive: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. [functionConst] zutty-0.16.2.20241020+dfsg1/src/frame.cc:327:11: note: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. zutty-0.16.2.20241020+dfsg1/src/frame.h:142:12: note: Technically the member function 'zutty::Frame::highMemUsageReport' can be const. head zutty-0.16.2.20241020+dfsg1/src/vterm.cc:690:11: performance:inconclusive: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). [functionStatic] zutty-0.16.2.20241020+dfsg1/src/vterm.h:139:19: note: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). zutty-0.16.2.20241020+dfsg1/src/vterm.cc:690:11: note: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). 2.17.0 zutty-0.16.2.20241020+dfsg1/src/vterm.h:139:19: performance:inconclusive: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). [functionStatic] zutty-0.16.2.20241020+dfsg1/src/vterm.cc:690:11: note: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). zutty-0.16.2.20241020+dfsg1/src/vterm.h:139:19: note: Technically the member function 'zutty::Vterm::getLocalEcho' can be static (but you may consider moving to unnamed namespace). DONE