2025-11-24 21:07 ftp://ftp.de.debian.org/debian/pool/main/x/xterm/xterm_403.orig.tar.gz 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 -j1 platform: Linux-6.8.0-88-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 208 208 elapsed-time: 18.9 19.8 head-timing-info: old-timing-info: head results: xterm-403/Tekproc.c:930:22: error: There is an unknown macro here somewhere. Configuration is required. If TRACE_L is a macro then please configure it. [unknownMacro] xterm-403/button.c:5344:43: error: There is an unknown macro here somewhere. Configuration is required. If FMT_MODIFIER_NAMES is a macro then please configure it. [unknownMacro] xterm-403/cachedGCs.c:751:7: error: There is an unknown macro here somewhere. Configuration is required. If TRACE_L is a macro then please configure it. [unknownMacro] xterm-403/charproc.c:9887:22: error: There is an unknown macro here somewhere. Configuration is required. If TRACE_L is a macro then please configure it. [unknownMacro] xterm-403/charsets.c:162:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nrc_DEC_UPSS [valueFlowBailoutIncompleteVar] xterm-403/charsets.c:372:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nrc_DEC_UPSS [valueFlowBailoutIncompleteVar] xterm-403/charsets.c:180:27: error: Expression 'code,code&=0x7f' depends on order of evaluation of side effects [unknownEvaluationOrder] xterm-403/charsets.c:184:27: error: Expression 'code,code|=0x80' depends on order of evaluation of side effects [unknownEvaluationOrder] xterm-403/charsets.c:443:38: error: Expression 'chr=seven,chr=eight' depends on order of evaluation of side effects [unknownEvaluationOrder] xterm-403/charsets.c:329:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xterm-403/cursor.c:75:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ORIGIN [valueFlowBailoutIncompleteVar] xterm-403/cursor.c:123:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REVERSEWRAP [valueFlowBailoutIncompleteVar] xterm-403/cursor.c:213:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ld [valueFlowBailoutIncompleteVar] xterm-403/cursor.c:324:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ORIGIN [valueFlowBailoutIncompleteVar] xterm-403/cursor.c:453:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ORIGIN [valueFlowBailoutIncompleteVar] xterm-403/cursor.c:489:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ATTRIBUTES [valueFlowBailoutIncompleteVar] xterm-403/cursor.c:525:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ORIGIN [valueFlowBailoutIncompleteVar] xterm-403/cursor.c:537:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ORIGIN [valueFlowBailoutIncompleteVar] xterm-403/cursor.c:523:14: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xterm-403/cursor.c:535:14: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xterm-403/fontutils.c:3898:32: error: There is an unknown macro here somewhere. Configuration is required. If TRACE_L is a macro then please configure it. [unknownMacro] xterm-403/graphics.c:194:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Graphic [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:218:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:242:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:256:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_HOLE [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:268:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COLOR_REGISTERS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:297:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COLOR_REGISTERS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:403:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COLOR_REGISTERS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:429:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COLOR_REGISTERS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:451:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COLOR_REGISTERS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:480:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COLOR_REGISTERS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:524:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ColorRegister [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:639:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_COLOR_REGISTERS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:690:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_HOLE [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:773:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:830:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:869:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHANNEL_MAX [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:913:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHANNEL_MAX [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:955:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable holes [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:1311:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:1383:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ColorRegister [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:1565:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:1793:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:1820:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:1882:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GRAPHICS [valueFlowBailoutIncompleteVar] xterm-403/graphics.c:675:23: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] xterm-403/graphics.c:1515:17: style: Parameter 'limits' can be declared as pointer to const [constParameterPointer] xterm-403/graphics_regis.c:365:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_HOLE [valueFlowBailoutIncompleteVar] xterm-403/graphics_regis.c:5865:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_BLOK [valueFlowBailoutIncompleteVar] xterm-403/graphics_regis.c:7372:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Char [valueFlowBailoutIncompleteVar] xterm-403/graphics_regis.c:6254:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xterm-403/graphics_regis.c:2394:33: style: Condition 'get_xft_bitmap_of_character(context,fontname,ch,maxw,maxh,pixels,max_pixels,w,h)' is always false [knownConditionTrueFalse] xterm-403/graphics_regis.c:2394:33: note: Calling function 'get_xft_bitmap_of_character' returns 0 xterm-403/graphics_regis.c:2394:33: note: Condition 'get_xft_bitmap_of_character(context,fontname,ch,maxw,maxh,pixels,max_pixels,w,h)' is always false xterm-403/graphics_regis.c:1093:53: style: Variable 'pxy' can be declared as pointer to const [constVariablePointer] xterm-403/graphics_sixel.c:135:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_HOLE [valueFlowBailoutIncompleteVar] xterm-403/graphics_sixel.c:169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_HOLE [valueFlowBailoutIncompleteVar] xterm-403/graphics_sixel.c:438:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_HOLE [valueFlowBailoutIncompleteVar] xterm-403/graphics_sixel.c:620:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MaxSParm [valueFlowBailoutIncompleteVar] xterm-403/graphics_sixel.c:452:13: style: Variable 'Phgrid' is assigned a value that is never used. [unreadVariable] xterm-403/html.c:57:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] xterm-403/html.c:182:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLINK [valueFlowBailoutIncompleteVar] xterm-403/html.c:92:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] xterm-403/html.c:116:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] xterm-403/input.c:1040:19: error: There is an unknown macro here somewhere. Configuration is required. If FMT_MODIFIER_NAMES is a macro then please configure it. [unknownMacro] xterm-403/linedata.c:258:22: error: Syntax Error: AST broken, 'item' doesn't have a parent. [internalAstError] xterm-403/main.c:2376:28: error: There is an unknown macro here somewhere. Configuration is required. If ENVP_ARG is a macro then please configure it. [unknownMacro] xterm-403/menu.c:2040:28: error: There is an unknown macro here somewhere. Configuration is required. If PROTO_XT_CALLBACK_ARGS is a macro then please configure it. [unknownMacro] xterm-403/misc.c:221:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pFocused [valueFlowBailoutIncompleteVar] xterm-403/misc.c:259:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotifyInferior [valueFlowBailoutIncompleteVar] xterm-403/misc.c:272:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotifyInferior [valueFlowBailoutIncompleteVar] xterm-403/misc.c:290:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOCUS [valueFlowBailoutIncompleteVar] xterm-403/misc.c:324:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_FG [valueFlowBailoutIncompleteVar] xterm-403/misc.c:352:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOUSE_OFF [valueFlowBailoutIncompleteVar] xterm-403/misc.c:401:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app_con [valueFlowBailoutIncompleteVar] xterm-403/misc.c:456:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app_con [valueFlowBailoutIncompleteVar] xterm-403/misc.c:509:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app_con [valueFlowBailoutIncompleteVar] xterm-403/misc.c:547:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable app_con [valueFlowBailoutIncompleteVar] xterm-403/misc.c:584:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable need_cleanup [valueFlowBailoutIncompleteVar] xterm-403/misc.c:717:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFFONT [valueFlowBailoutIncompleteVar] xterm-403/misc.c:840:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable term [valueFlowBailoutIncompleteVar] xterm-403/misc.c:898:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_X_cursor [valueFlowBailoutIncompleteVar] xterm-403/misc.c:994:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_xterm [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1038:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1049:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1085:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable term [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1213:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1258:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable term [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1468:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable term [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1504:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable term [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1514:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1538:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1781:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] xterm-403/misc.c:1826:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] xterm-403/misc.c:2081:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable term [valueFlowBailoutIncompleteVar] xterm-403/misc.c:2591:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualIDMask [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3107:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_U_STRING [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3258:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOLD [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3461:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ansi_table [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3511:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScrnColors [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3533:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEXT_BG [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3571:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecGetColor [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3611:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCOLORS [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3637:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEXT_FG [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3676:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCOLORS [valueFlowBailoutIncompleteVar] xterm-403/misc.c:3734:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable resource [valueFlowBailoutIncompleteVar] xterm-403/misc.c:4269:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSC_TEXT_FG [valueFlowBailoutIncompleteVar] xterm-403/misc.c:4382:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_UDK [valueFlowBailoutIncompleteVar] xterm-403/misc.c:4415:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_UDK [valueFlowBailoutIncompleteVar] xterm-403/misc.c:4448:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPARAM [valueFlowBailoutIncompleteVar] xterm-403/misc.c:4813:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DFT_UPSS [valueFlowBailoutIncompleteVar] xterm-403/misc.c:4870:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xterm-403/misc.c:5856:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_UDK [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6127:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmSetBase16 [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6347:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNiconName [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6353:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6399:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEXT_CURSOR [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6436:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ecSetColor [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6492:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_FIONBIO [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6548:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6566:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hold_screen [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6638:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable term [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6779:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6794:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6842:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6872:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6886:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6897:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6906:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6927:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_MISC [valueFlowBailoutIncompleteVar] xterm-403/misc.c:6956:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable term [valueFlowBailoutIncompleteVar] xterm-403/misc.c:7137:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XrmOptionDescRec [valueFlowBailoutIncompleteVar] xterm-403/misc.c:7181:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt [valueFlowBailoutIncompleteVar] xterm-403/misc.c:7797:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xterm-403/misc.c:7827:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xterm-403/misc.c:7853:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable toplevel [valueFlowBailoutIncompleteVar] xterm-403/misc.c:2125:15: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xterm-403/misc.c:1415:16: style: Condition 'screen->bellInProgress' is always true [knownConditionTrueFalse] xterm-403/misc.c:4909:11: style: Condition 'screen->vtXX_level' is always true [knownConditionTrueFalse] xterm-403/misc.c:4903:26: note: Assuming that condition 'screen->vtXX_level<2' is not redundant xterm-403/misc.c:4909:11: note: Condition 'screen->vtXX_level' is always true xterm-403/misc.c:3464:5: style: Variable '*bufp' is assigned an expression that holds the same value. [redundantAssignment] xterm-403/misc.c:3432:16: note: next is assigned 'cp' here. xterm-403/misc.c:3464:5: note: Variable '*bufp' is assigned an expression that holds the same value. xterm-403/misc.c:399:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:408:16: style: Variable 'q' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:454:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:463:19: style: Variable 'q' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:507:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:516:16: style: Variable 'q' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:580:14: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:1058:15: style: Parameter 'nparams' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:1207:11: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:1208:13: style: Parameter 'param_count' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:1501:13: style: Parameter 'ev' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:2122:16: style: Variable 'tstruct' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:2305:24: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:3687:9: style: Variable 'thisName' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:4829:14: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:6113:11: style: Variable 'old_value' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:6787:11: style: Variable 'test' can be declared as pointer to const [constVariablePointer] xterm-403/misc.c:6931:15: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:6931:25: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:7154:25: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:7774:31: style: Parameter 'GCC_UNUSED' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:7774:62: style: Parameter 'GCC_UNUSED' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:7883:25: style: Parameter 'screen' can be declared as pointer to const [constParameterPointer] xterm-403/misc.c:4810:6: style: struct member 'Anonymous1::min_level' is never used. [unusedStructMember] xterm-403/misc.c:4811:6: style: struct member 'Anonymous1::max_level' is never used. [unusedStructMember] xterm-403/print.c:128:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_COLOR [valueFlowBailoutIncompleteVar] xterm-403/print.c:280:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbBI_MinorError [valueFlowBailoutIncompleteVar] xterm-403/print.c:425:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_FORK [valueFlowBailoutIncompleteVar] xterm-403/print.c:623:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANSI_CSI [valueFlowBailoutIncompleteVar] xterm-403/print.c:810:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESTAMP_LEN [valueFlowBailoutIncompleteVar] xterm-403/print.c:107:14: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xterm-403/print.c:119:64: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xterm-403/print.c:219:21: error: Uninitialized variable: off [uninitvar] xterm-403/ptydata.c:258:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRG_SIZE [valueFlowBailoutIncompleteVar] xterm-403/ptydata.c:364:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FRG_SIZE [valueFlowBailoutIncompleteVar] xterm-403/ptydata.c:436:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] xterm-403/ptydata.c:249:41: style: Parameter 'select_mask' can be declared as pointer to const [constParameterPointer] xterm-403/ptydata.c:251:14: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xterm-403/resize.c:464:24: error: There is an unknown macro here somewhere. Configuration is required. If DFT_TERMTYPE is a macro then please configure it. [unknownMacro] xterm-403/screen.c:1578:54: error: There is an unknown macro here somewhere. Configuration is required. If TRACE_L is a macro then please configure it. [unknownMacro] xterm-403/scrollbar.c:548:27: error: There is an unknown macro here somewhere. Configuration is required. If TRACE_L is a macro then please configure it. [unknownMacro] xterm-403/svg.c:64:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] xterm-403/svg.c:174:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLINK [valueFlowBailoutIncompleteVar] xterm-403/tabs.c:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TABS [valueFlowBailoutIncompleteVar] xterm-403/tabs.c:88:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_BITS_SHIFT [valueFlowBailoutIncompleteVar] xterm-403/tabs.c:99:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_BITS_SHIFT [valueFlowBailoutIncompleteVar] xterm-403/tabs.c:113:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WRAPAROUND [valueFlowBailoutIncompleteVar] xterm-403/tabs.c:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_TABS [valueFlowBailoutIncompleteVar] xterm-403/tabs.c:171:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ORIGIN [valueFlowBailoutIncompleteVar] xterm-403/tabs.c:188:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_ARRAY_SIZE [valueFlowBailoutIncompleteVar] xterm-403/tabs.c:197:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAB_BITS_SHIFT [valueFlowBailoutIncompleteVar] xterm-403/testxmc.c:99:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMC_FLAGS [valueFlowBailoutIncompleteVar] xterm-403/testxmc.c:184:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XMC_FLAGS [valueFlowBailoutIncompleteVar] xterm-403/util.c:517:5: error: Syntax Error: AST broken, 'if' doesn't have two operands. [internalAstError] xterm-403/version.c:45:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __vendorversion__ [valueFlowBailoutIncompleteVar] xterm-403/version.c:69:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xterm-403/xstrings.c:233:26: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] xterm-403/xstrings.c:253:26: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xterm-403/xstrings.c:43:48: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] xterm-403/xstrings.c:454:18: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] xterm-403/xtermcap.c:610:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbBI_MinorError [valueFlowBailoutIncompleteVar] xterm-403/xtermcap.c:527:14: style: Variable 'screen' can be declared as pointer to const [constVariablePointer] xterm-403/xutf8.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAD_ASCII [valueFlowBailoutIncompleteVar] xterm-403/xutf8.c:201:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XConverterNotFound [valueFlowBailoutIncompleteVar] xterm-403/xutf8.c:271:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XUTF8StringStyle [valueFlowBailoutIncompleteVar] xterm-403/xutf8.c:353:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xterm-403/xutf8.c:138:29: style: Condition '(*s&0x7C)==0x40' is always true [knownConditionTrueFalse] xterm-403/xutf8.c:134:23: note: Assuming that condition '(*s&0x7C)==0x40' is not redundant xterm-403/xutf8.c:138:29: note: Condition '(*s&0x7C)==0x40' is always true xterm-403/xutf8.c:168:29: style: Condition '(*s&0x7C)==0x40' is always true [knownConditionTrueFalse] xterm-403/xutf8.c:164:25: note: Assuming that condition '(*s&0x7C)==0x40' is not redundant xterm-403/xutf8.c:168:29: note: Condition '(*s&0x7C)==0x40' is always true xterm-403/xutf8.c:101:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xterm-403/xutf8.c:116:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] diff: DONE