2025-05-09 13:46 ftp://ftp.de.debian.org/debian/pool/main/b/bsdgames/bsdgames_2.17.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=openssl --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.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: d655a3a (2025-05-09 12:19:47 +0200) count: 1060 1099 elapsed-time: 8.7 9.0 head-timing-info: old-timing-info: head results: bsd-games-2.17/adventure/io.c:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/adventure/io.c:143:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/adventure/init.c:158:12: error: Array 'ltext[141]' accessed at index 141, which is out of bounds. [arrayIndexOutOfBounds] bsd-games-2.17/adventure/init.c:157:16: note: Assuming that condition 'i<=141' is not redundant bsd-games-2.17/adventure/init.c:158:12: note: Array index out of bounds bsd-games-2.17/adventure/main.c:71:15: style: Variable 'kk' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/adventure/save.c:141:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/adventure/save.c:170:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/adventure/setup.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/adventure/setup.c:77:10: style: Parameter 'argv' can be declared as const array [constParameter] bsd-games-2.17/adventure/io.c:381:9: warning: Either the condition 't==NULL' is redundant or there is possible null pointer dereference: t. [nullPointerRedundantCheck] bsd-games-2.17/adventure/io.c:382:11: note: Assuming that condition 't==NULL' is not redundant bsd-games-2.17/adventure/io.c:381:9: note: Null pointer dereference bsd-games-2.17/adventure/io.c:552:17: style: Local variable 'save' shadows outer function [shadowFunction] bsd-games-2.17/adventure/extern.h:74:5: note: Shadowed declaration bsd-games-2.17/adventure/io.c:552:17: note: Shadow variable bsd-games-2.17/adventure/io.c:283:10: style: Variable 'seekstart' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/adventure/io.c:520:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/adventure/io.c:552:10: style: Variable 'numst' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/adventure/io.c:553:15: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/adventure/wizard.c:139:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/adventure/wizard.c:63:9: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bsd-games-2.17/adventure/wizard.c:60:13: style: Variable 'tptr' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/adventure/vocab.c:131:23: warning: Either the condition 'where<=0' is redundant or the array 'atloc[141]' is accessed at index 141, which is out of bounds. [arrayIndexOutOfBoundsCond] bsd-games-2.17/adventure/vocab.c:129:12: note: Assuming that condition 'where<=0' is not redundant bsd-games-2.17/adventure/vocab.c:131:23: note: Array index out of bounds bsd-games-2.17/adventure/vocab.c:132:7: warning: Either the condition 'where<=0' is redundant or the array 'atloc[141]' is accessed at index 141, which is out of bounds. [arrayIndexOutOfBoundsCond] bsd-games-2.17/adventure/vocab.c:129:12: note: Assuming that condition 'where<=0' is not redundant bsd-games-2.17/adventure/vocab.c:132:7: note: Array index out of bounds bsd-games-2.17/adventure/vocab.c:204:10: style: Variable 'c' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/arithmetic/arithmetic.c:127:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/arithmetic/arithmetic.c:237:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/arithmetic/arithmetic.c:390:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/arithmetic/arithmetic.c:378:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/atc/graphics.c:70:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:110:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:116:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:216:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:246:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:255:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:266:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:274:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:290:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:307:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:354:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:406:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/graphics.c:432:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/input.c:239:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERASE [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/input.c:291:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/input.c:328:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_BSHELL [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/input.c:671:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/input.c:658:6: style: Local variable 'dir' shadows outer variable [shadowVariable] bsd-games-2.17/atc/input.c:175:25: note: Shadowed declaration bsd-games-2.17/atc/input.c:658:6: note: Shadow variable bsd-games-2.17/atc/input.c:361:9: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/atc/log.c:110:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/log.c:160:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_SCORE [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/main.c:102:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/main.c:238:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_GAMES [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/main.c:265:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_GAMES [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/main.c:299:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_GAMES [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/main.c:247:3: error: Resource leak: fp [resourceLeak] bsd-games-2.17/atc/main.c:71:15: style: Local variable 'file' shadows outer variable [shadowVariable] bsd-games-2.17/atc/extern.h:47:20: note: Shadowed declaration bsd-games-2.17/atc/main.c:71:15: note: Shadow variable bsd-games-2.17/atc/main.c:235:14: style: Local variable 'file' shadows outer variable [shadowVariable] bsd-games-2.17/atc/extern.h:47:20: note: Shadowed declaration bsd-games-2.17/atc/main.c:235:14: note: Shadow variable bsd-games-2.17/atc/main.c:261:14: style: Local variable 'file' shadows outer variable [shadowVariable] bsd-games-2.17/atc/extern.h:47:20: note: Shadowed declaration bsd-games-2.17/atc/main.c:261:14: note: Shadow variable bsd-games-2.17/atc/log.c:175:31: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bsd-games-2.17/atc/log.c:163:2: style: Statements following 'return' will never be executed. [unreachableCode] bsd-games-2.17/atc/log.c:145:17: style: Local variable 'name' shadows outer function [shadowFunction] bsd-games-2.17/atc/extern.h:92:7: note: Shadowed declaration bsd-games-2.17/atc/log.c:145:17: note: Shadow variable bsd-games-2.17/atc/log.c:142:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/atc/log.c:141:21: style: Variable 'num_scores' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/atc/log.c:141:40: style: Variable 'changed' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/atc/log.c:141:51: style: Variable 'found' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/backgammon/backgammon/extra.c:61:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cturn [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/extra.c:119:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offptr [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/extra.c:197:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/extra.c:221:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/extra.c:242:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/adventure/subr.c:127:10: warning: Either the condition 'll<=300' is redundant or the array 'cond[141]' is accessed at index 300, which is out of bounds. [arrayIndexOutOfBoundsCond] bsd-games-2.17/adventure/subr.c:403:10: note: Assuming that condition 'll<=300' is not redundant bsd-games-2.17/adventure/subr.c:405:15: note: Calling function 'forced', 1st argument 'll' value is 300 bsd-games-2.17/adventure/subr.c:127:10: note: Array index out of bounds bsd-games-2.17/adventure/subr.c:385:25: style: Variable 'j' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/backgammon/backgammon/main.c:106:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bflag [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/move.c:105:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gvalue [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/move.c:193:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvlim [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/move.c:246:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/move.c:311:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cturn [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/move.c:326:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvlim [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/move.c:400:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/move.c:425:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/backgammon/move.c:490:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offptr [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/update.c:266:14: warning:inconclusive: Logical conjunction always evaluates to false: l < 'a' && l > 'z'. [incorrectLogicOperator] bsd-games-2.17/atc/update.c:266:25: warning:inconclusive: Logical conjunction always evaluates to false: l > 'z' && l < 'A'. [incorrectLogicOperator] bsd-games-2.17/atc/update.c:266:36: warning:inconclusive: Logical conjunction always evaluates to false: l < 'A' && l > 'Z'. [incorrectLogicOperator] bsd-games-2.17/backgammon/backgammon/text.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noech [valueFlowBailoutIncompleteVar] bsd-games-2.17/atc/update.c:225:29: style: Variable 'comm_start' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/backgammon/backgammon/move.c:365:2: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] bsd-games-2.17/backgammon/backgammon/move.c:355:32: note: Assuming allocation function fails bsd-games-2.17/backgammon/backgammon/move.c:355:9: note: Assignment 'new=(struct BOARD*)calloc(1,sizeof(struct BOARD))', assigned value is 0 bsd-games-2.17/backgammon/backgammon/move.c:365:2: note: Null pointer dereference bsd-games-2.17/backgammon/backgammon/move.c:305:10: style: Variable 'aloc' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/backgammon/backgammon/move.c:306:10: style: Variable 'bloc' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/backgammon/common_source/odds.c:62:9: error: Array 'table[6][6]' accessed at index table[-1][*], which is out of bounds. [negativeIndex] bsd-games-2.17/backgammon/common_source/odds.c:112:16: note: Calling function 'odds', 2nd argument '0' value is 0 bsd-games-2.17/backgammon/common_source/odds.c:56:7: note: r2 is decremented', new value is -1 bsd-games-2.17/backgammon/common_source/odds.c:62:9: note: Negative array index bsd-games-2.17/backgammon/common_source/odds.c:63:9: error: Array 'table[6][6]' accessed at index table[*][-1], which is out of bounds. [negativeIndex] bsd-games-2.17/backgammon/common_source/odds.c:112:16: note: Calling function 'odds', 2nd argument '0' value is 0 bsd-games-2.17/backgammon/common_source/odds.c:56:7: note: r2 is decremented', new value is -1 bsd-games-2.17/backgammon/common_source/odds.c:63:9: note: Negative array index bsd-games-2.17/backgammon/common_source/odds.c:105:11: style: Condition 'j!=b' is always false [knownConditionTrueFalse] bsd-games-2.17/backgammon/common_source/odds.c:104:11: note: Assuming that condition 'j==b' is not redundant bsd-games-2.17/backgammon/common_source/odds.c:105:11: note: Condition 'j!=b' is always false bsd-games-2.17/backgammon/common_source/save.c:79:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERASE [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/common_source/save.c:153:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/common_source/save.c:120:9: warning: Either the condition 'fdesc!=-1' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] bsd-games-2.17/backgammon/common_source/save.c:97:13: note: Assuming that condition 'fdesc!=-1' is not redundant bsd-games-2.17/backgammon/common_source/save.c:120:9: note: Invalid argument bsd-games-2.17/backgammon/common_source/subs.c:77:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/common_source/subs.c:440:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/common_source/table.c:115:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERASE [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/common_source/subs.c:435:18: style: Parameter 't' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/backgammon/teachgammon/teach.c:72:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getout [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/teachgammon/teach.c:150:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tflag [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/teachgammon/ttext2.c:139:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noech [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/teachgammon/tutor.c:52:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable begscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/backgammon/teachgammon/tutor.c:136:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curr [valueFlowBailoutIncompleteVar] bsd-games-2.17/battlestar/extern.h:378:1: error: There is an unknown macro here somewhere. Configuration is required. If int is a macro then please configure it. [unknownMacro] bsd-games-2.17/backgammon/common_source/fancy.c:409:10: style: Local variable 'count' shadows outer function [shadowFunction] bsd-games-2.17/backgammon/common_source/back.h:142:5: note: Shadowed declaration bsd-games-2.17/backgammon/common_source/fancy.c:409:10: note: Shadow variable bsd-games-2.17/banner/banner.c:1050:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/banner/banner.c:1135:18: warning: Either the condition 'pc>9271' is redundant or the array 'data_table[9271]' is accessed at index 9271, which is out of bounds. [arrayIndexOutOfBoundsCond] bsd-games-2.17/banner/banner.c:1131:21: note: Assuming that condition 'pc>9271' is not redundant bsd-games-2.17/banner/banner.c:1135:18: note: Array index out of bounds bsd-games-2.17/banner/banner.c:1059:7: style: Variable 'argc' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/bcd/bcd.c:149:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/help.c:57:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:129:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIST_LINE [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:196:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:274:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:283:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCIFLUSH [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:322:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIST_LINE [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:343:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIST_LINE [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:379:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIST_LINE [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:406:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:508:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:567:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROMPT_LINE [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:582:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:604:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:619:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:664:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOARD_LINE [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/timer.c:75:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/timer.c:107:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/bog.c:152:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/bog.c:290:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/bog.c:317:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/bog.c:455:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/bog.c:525:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/bog.c:564:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/bog.c:712:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/word.c:73:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/word.c:168:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/word.c:192:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/mach.c:94:18: style: Condition 'tty_setup()<0' is always false [knownConditionTrueFalse] bsd-games-2.17/boggle/boggle/mach.c:94:15: note: Calling function 'tty_setup' returns 0 bsd-games-2.17/boggle/boggle/mach.c:94:18: note: Condition 'tty_setup()<0' is always false bsd-games-2.17/boggle/boggle/word.c:168:22: style: Variable 'st' is reassigned a value before the old one has been used. [redundantAssignment] bsd-games-2.17/boggle/boggle/word.c:167:5: note: st is assigned bsd-games-2.17/boggle/boggle/word.c:168:22: note: st is overwritten bsd-games-2.17/boggle/mkindex/mkindex.c:60:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/mkindex/mkindex.c:106:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/mkdict/mkdict.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWORDLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/caesar/caesar.c:158:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/mkdict/mkdict.c:67:8: style: Parameter 'argv' can be declared as const array [constParameter] bsd-games-2.17/canfield/cfscores/cfscores.c:89:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_SCORE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/cfscores/cfscores.c:132:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_SCORE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/cfscores/cfscores.c:93:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bsd-games-2.17/canfield/cfscores/cfscores.c:102:16: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] bsd-games-2.17/canfield/cfscores/cfscores.c:106:7: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] bsd-games-2.17/canfield/cfscores/cfscores.c:75:8: style: Parameter 'argv' can be declared as const array [constParameter] bsd-games-2.17/canfield/cfscores/cfscores.c:77:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/cribbage/cards.c:142:13: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/canfield/canfield/canfield.c:550:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:619:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:683:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:708:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:764:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:794:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:809:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:820:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:833:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:850:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:867:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:881:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:913:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1001:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1052:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1094:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1287:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1305:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1319:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1384:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1445:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/canfield/canfield/canfield.c:1735:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/boggle/boggle/bog.c:610:29: style: Variable 'st' is reassigned a value before the old one has been used. [redundantAssignment] bsd-games-2.17/boggle/boggle/bog.c:609:6: note: st is assigned bsd-games-2.17/boggle/boggle/bog.c:610:29: note: st is overwritten bsd-games-2.17/boggle/boggle/bog.c:131:8: style: Variable 'bspec' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/boggle/boggle/bog.c:131:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/boggle/boggle/bog.c:287:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/boggle/boggle/bog.c:315:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/boggle/boggle/bog.c:440:10: style: Variable 'lm' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/boggle/boggle/bog.c:555:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/boggle/boggle/bog.c:558:31: style: Variable 'qi' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/cribbage/crib.c:72:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_LOG [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/crib.c:443:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/instr.c:78:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_MORE [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/instr.c:66:16: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] bsd-games-2.17/cribbage/io.c:431:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/io.c:472:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/io.c:521:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/io.c:542:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/io.c:599:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/crib.c:153:7: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] bsd-games-2.17/cribbage/crib.c:66:10: style: Local variable 'playing' shadows outer variable [shadowVariable] bsd-games-2.17/cribbage/cribbage.h:56:17: note: Shadowed declaration bsd-games-2.17/cribbage/crib.c:66:10: note: Shadow variable bsd-games-2.17/cribbage/io.c:248:6: style: Condition '!(line=getline())' is always false [knownConditionTrueFalse] bsd-games-2.17/cribbage/io.c:349:7: style: Condition '!(p=getline())' is always false [knownConditionTrueFalse] bsd-games-2.17/cribbage/io.c:445:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/cribbage/io.c:497:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/cribbage/io.c:500:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/cribbage/io.c:243:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/cribbage/io.c:344:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/cribbage/io.c:423:13: style: Variable 'omp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/cribbage/support.c:131:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/cribbage/score.c:116:6: style: Local variable 'score' shadows outer function [shadowFunction] bsd-games-2.17/cribbage/cribbage.h:108:6: note: Shadowed declaration bsd-games-2.17/cribbage/score.c:116:6: note: Shadow variable bsd-games-2.17/dab/algor.cc:173:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/algor.cc:50:8: warning: Member variable 'ALGOR::_edge1' is not initialized in the constructor. [uninitMemberVar] bsd-games-2.17/dab/algor.cc:50:8: warning: Member variable 'ALGOR::_edge2' is not initialized in the constructor. [uninitMemberVar] bsd-games-2.17/dab/algor.cc:50:8: warning: Member variable 'ALGOR::_maxedge' is not initialized in the constructor. [uninitMemberVar] bsd-games-2.17/dab/algor.cc:63:12: performance:inconclusive: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.h:59:9: note: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.cc:63:12: note: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.cc:207:12: performance:inconclusive: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.h:70:9: note: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.cc:207:12: note: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.cc:161:12: performance:inconclusive: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.h:72:9: note: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.cc:161:12: note: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/random.h:60:9: style:inconclusive: Technically the member function 'RANDOM::isset' can be const. [functionConst] bsd-games-2.17/dab/algor.h:53:5: style: Class 'ALGOR' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bsd-games-2.17/dab/random.h:52:5: style: Class 'RANDOM' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bsd-games-2.17/dab/algor.h:55:10: style: The function 'play' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/player.h:52:18: note: Virtual function in base class bsd-games-2.17/dab/algor.h:55:10: note: Function in derived class bsd-games-2.17/dab/algor.cc:112:15: style: The scope of the variable 'mv' can be reduced. [variableScope] bsd-games-2.17/dab/algor.cc:244:34: style: The scope of the variable 'mv' can be reduced. [variableScope] bsd-games-2.17/dab/algor.cc:246:12: style: The scope of the variable 'nbox' can be reduced. [variableScope] bsd-games-2.17/dab/algor.cc:282:38: style: The scope of the variable 'count1' can be reduced. [variableScope] bsd-games-2.17/dab/algor.cc:161:31: style: Parameter 'box' can be declared as reference to const [constParameterReference] bsd-games-2.17/dab/algor.cc:207:30: style: Parameter 'box' can be declared as reference to const [constParameterReference] bsd-games-2.17/dab/algor.cc:207:43: style: Parameter 'y' can be declared as reference to const [constParameterReference] bsd-games-2.17/dab/algor.cc:207:74: style: Parameter 'b' can be declared as reference to const [constParameterReference] bsd-games-2.17/dab/board.cc:138:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/board.cc:251:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/board.cc:61:5: warning: Class 'BOARD' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] bsd-games-2.17/dab/box.cc:65:11: style:inconclusive: Technically the member function 'BOX::addcorner' can be const. [functionConst] bsd-games-2.17/dab/box.h:93:10: note: Technically the member function 'BOX::addcorner' can be const. bsd-games-2.17/dab/box.cc:65:11: note: Technically the member function 'BOX::addcorner' can be const. bsd-games-2.17/dab/human.h:52:5: style: Class 'HUMAN' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] bsd-games-2.17/dab/human.h:54:10: style: The function 'play' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/player.h:52:18: note: Virtual function in base class bsd-games-2.17/dab/human.h:54:10: note: Function in derived class bsd-games-2.17/dab/human.cc:60:9: style: The scope of the variable 'mv' can be reduced. [variableScope] bsd-games-2.17/dab/main.cc:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/main.cc:123:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/ttyscrn.h:48:1: style: The class 'TTYSCRN' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] bsd-games-2.17/dab/ttyscrn.h:52:6: style: The destructor '~TTYSCRN' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:65:14: note: Virtual destructor in base class bsd-games-2.17/dab/ttyscrn.h:52:6: note: Destructor in derived class bsd-games-2.17/dab/ttyscrn.h:55:10: style: The function 'clean' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:66:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:55:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:56:10: style: The function 'moveto' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:67:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:56:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:57:10: style: The function 'addsym' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:68:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:57:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:58:10: style: The function 'addedge' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:69:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:58:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:59:10: style: The function 'redraw' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:70:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:59:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:60:10: style: The function 'bell' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:72:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:60:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:61:9: style: The function 'getinput' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:71:17: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:61:9: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:62:10: style: The function 'score' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:73:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:62:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:63:10: style: The function 'games' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:74:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:63:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:64:10: style: The function 'total' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:75:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:64:10: note: Function in derived class bsd-games-2.17/dab/ttyscrn.h:65:10: style: The function 'ties' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] bsd-games-2.17/dab/gamescreen.h:76:18: note: Virtual function in base class bsd-games-2.17/dab/ttyscrn.h:65:10: note: Function in derived class bsd-games-2.17/dab/main.cc:58:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/cribbage/support.c:251:13: style: Variable 'undo1' can be declared as const array [constVariable] bsd-games-2.17/cribbage/support.c:252:13: style: Variable 'undo2' can be declared as const array [constVariable] bsd-games-2.17/dab/player.cc:74:9: style: The scope of the variable 'score' can be reduced. [variableScope] bsd-games-2.17/dab/random.cc:53:5: warning: Class 'RANDOM' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] bsd-games-2.17/dab/random.cc:53:5: warning: Class 'RANDOM' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] bsd-games-2.17/dab/random.cc:50:23: style:inconclusive: Function 'RANDOM' argument 1 names different: declaration 'fx' definition 'ns'. [funcArgNamesDifferent] bsd-games-2.17/dab/random.h:52:19: note: Function 'RANDOM' argument 1 names different: declaration 'fx' definition 'ns'. bsd-games-2.17/dab/random.cc:50:23: note: Function 'RANDOM' argument 1 names different: declaration 'fx' definition 'ns'. bsd-games-2.17/dab/test.cc:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/ttyscrn.cc:170:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/ttyscrn.cc:180:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/ttyscrn.cc:186:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/ttyscrn.cc:192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/ttyscrn.cc:198:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/dab/ttyscrn.cc:207:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/dm/dm.c:113:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] bsd-games-2.17/dm/dm.c:130:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/dm/dm.c:271:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/factor/factor.c:126:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bsd-games-2.17/factor/factor.c:139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINE_MAX [valueFlowBailoutIncompleteVar] bsd-games-2.17/factor/factor.c:217:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/factor/factor.c:277:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/dm/dm.c:93:12: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] bsd-games-2.17/dm/dm.c:173:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bsd-games-2.17/dm/dm.c:137:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bsd-games-2.17/dm/dm.c:143:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bsd-games-2.17/dm/dm.c:149:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] bsd-games-2.17/dm/dm.c:169:20: style: Variable 'ct' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/dm/dm.c:198:15: style: Variable 'p_tty' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/dm/dm.c:255:27: style: Variable 'ohead' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/fortune/fortune/fortune.c:209:0: error: #error "Need to define HAVE_REGCMP, HAVE_RE_COMP, or HAVE_REGCOMP" [preprocessorErrorDirective] bsd-games-2.17/fortune/fortune/fortune.c:209:3: error: #error "Need to define HAVE_REGCMP, HAVE_RE_COMP, or HAVE_REGCOMP" [preprocessorErrorDirective] bsd-games-2.17/fish/fish.c:164:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/fish/fish.c:469:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_MORE [valueFlowBailoutIncompleteVar] bsd-games-2.17/fish/fish.c:492:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/fortune/unstr/unstr.c:105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_ORDERED [valueFlowBailoutIncompleteVar] bsd-games-2.17/fortune/unstr/unstr.c:121:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/fortune/unstr/unstr.c:136:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/fortune/strfile/strfile.c:344:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/fortune/strfile/strfile.c:353:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/fortune/strfile/strfile.c:362:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/fortune/strfile/strfile.c:406:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pos [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/bdinit.c:76:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/bdinit.c:197:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/bdisp.c:259:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/bdisp.c:146:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/bdisp.c:248:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/main.c:117:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/main.c:507:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/main.c:547:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/fortune/strfile/strfile.c:229:4: error: Common realloc mistake: 'Firstch' nulled but not freed upon failure [memleakOnRealloc] bsd-games-2.17/fortune/strfile/strfile.c:382:3: error: Common realloc mistake: 'Seekpts' nulled but not freed upon failure [memleakOnRealloc] bsd-games-2.17/fortune/strfile/strfile.c:407:16: warning: If resource allocation fails, then there is a possible null pointer dereference: Sort_1 [nullPointerOutOfResources] bsd-games-2.17/fortune/strfile/strfile.c:399:16: note: Assuming allocation function fails bsd-games-2.17/fortune/strfile/strfile.c:399:16: note: Assignment 'Sort_1=fopen(Infile,"r")', assigned value is 0 bsd-games-2.17/fortune/strfile/strfile.c:407:16: note: Null pointer dereference bsd-games-2.17/fortune/strfile/strfile.c:408:16: warning: If resource allocation fails, then there is a possible null pointer dereference: Sort_2 [nullPointerOutOfResources] bsd-games-2.17/fortune/strfile/strfile.c:400:16: note: Assuming allocation function fails bsd-games-2.17/fortune/strfile/strfile.c:400:16: note: Assignment 'Sort_2=fopen(Infile,"r")', assigned value is 0 bsd-games-2.17/fortune/strfile/strfile.c:408:16: note: Null pointer dereference bsd-games-2.17/fortune/strfile/strfile.c:228:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/fortune/strfile/strfile.c:360:8: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/fortune/strfile/strfile.c:397:7: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/makemove.c:134:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/pickmove.c:249:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/pickmove.c:453:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/pickmove.c:594:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] bsd-games-2.17/gomoku/makemove.c:154:15: style: Variable 'cp' is reassigned a value before the old one has been used. [redundantAssignment] bsd-games-2.17/gomoku/makemove.c:151:6: note: cp is assigned bsd-games-2.17/gomoku/makemove.c:154:15: note: cp is overwritten bsd-games-2.17/gomoku/makemove.c:69:18: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/makemove.c:226:18: style: Variable 'esp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.bones.c:91:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.bones.c:158:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.apply.c:117:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIN [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.apply.c:194:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.apply.c:315:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable whistletime [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.apply.c:348:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PICK_AXE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.apply.c:472:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENORMOUS_ROCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:163:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:404:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:419:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:567:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:677:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:750:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:792:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:941:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.apply.c:224:14: style: Parameter 'obj' can be declared as pointer to const. However it seems that 'ck_ice_box' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bsd-games-2.17/hack/hack.apply.c:263:52: note: You might need to cast the function pointer here bsd-games-2.17/hack/hack.apply.c:224:14: note: Parameter 'obj' can be declared as pointer to const bsd-games-2.17/hack/hack.apply.c:450:25: style: Variable 'sdp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.apply.c:452:13: style: Variable 'lev' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.apply.c:291:9: style: Variable 'bchx' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/hack/hack.apply.c:292:9: style: Variable 'bchy' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/hack/hack.cmd.c:315:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.cmd.c:290:9: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:73:18: style: Variable 'Ocp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:73:24: style: Variable 'Tcp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:233:25: style: Variable 'ecbp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:804:25: style: Variable 'tcbp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:965:19: style: Variable 'tcbp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:1084:19: style: Parameter 'fcbp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/gomoku/pickmove.c:1085:18: style: Parameter 'osp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/gomoku/pickmove.c:1089:19: style: Variable 'tcbp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:1092:10: style: Variable 'str' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:1093:9: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:1339:19: style: Parameter 'cbp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/gomoku/pickmove.c:1342:19: style: Variable 'tcbp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/gomoku/pickmove.c:1101:7: style: Variable 'loop' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/hack/hack.do.c:101:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do.c:136:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRYSKNIFE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do.c:166:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do.c:185:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do.c:222:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do.c:381:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXPENSIVE_CAMERA [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do.c:570:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do.c:579:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do_name.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] bsd-games-2.17/hack/hack.do_name.c:203:8: warning: Either the condition '!otmp' is redundant or there is possible null pointer dereference: otmp. [nullPointerRedundantCheck] bsd-games-2.17/hack/hack.do_name.c:201:8: note: Assuming that condition '!otmp' is not redundant bsd-games-2.17/hack/hack.do_name.c:203:8: note: Null pointer dereference bsd-games-2.17/hack/hack.do.c:251:16: warning: Either the condition '(fd=open(lock,O_RDONLY))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] bsd-games-2.17/hack/hack.do.c:245:35: note: Assuming that condition '(fd=open(lock,O_RDONLY))<0' is not redundant bsd-games-2.17/hack/hack.do.c:251:16: note: Invalid argument bsd-games-2.17/hack/hack.do.c:435:10: style: Variable 'mon' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/hack/hack.do.c:452:10: style: Variable 'mon' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/hack/hack.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] bsd-games-2.17/hack/hack.do_wear.c:203:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HELMET [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do_wear.c:304:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIN_ADORNMENT [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do_wear.c:338:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIN_ADORNMENT [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do_wear.c:384:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIN_PROTECTION [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.do_wear.c:442:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELVEN_CLOAK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.c:566:16: style: Variable 'mtmp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.c:676:16: style: Variable 'mtmp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.do_wear.c:88:4: style: Condition '!uarms' is always false [knownConditionTrueFalse] bsd-games-2.17/hack/hack.do_wear.c:89:4: style: Condition '!uarmh' is always false [knownConditionTrueFalse] bsd-games-2.17/hack/hack.do_wear.c:90:4: style: Condition '!uarmh' is always false [knownConditionTrueFalse] bsd-games-2.17/hack/hack.do_wear.c:117:6: style: Condition 'uleft' is always true [knownConditionTrueFalse] bsd-games-2.17/hack/hack.do_wear.c:117:15: style: Condition 'uright' is always true [knownConditionTrueFalse] bsd-games-2.17/hack/hack.do_wear.c:153:18: style: Parameter 'otmp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.do_wear.c:333:18: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.eat.c:138:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.eat.c:169:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.eat.c:347:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Regeneration [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.eat.c:455:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEAD_ACID_BLOB [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.eat.c:463:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEAD_ACID_BLOB [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.dog.c:97:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hungrytime [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.dog.c:171:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRIPE_RATION [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.dog.c:212:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable whistletime [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.end.c:91:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.end.c:114:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.end.c:123:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.end.c:340:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.end.c:570:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.end.c:599:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.eat.c:453:18: style: Parameter 'otmp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.eat.c:461:18: style: Parameter 'otmp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.engrave.c:127:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.engrave.c:139:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.engrave.c:253:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DAGGER [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.engrave.c:106:18: style: Variable 't' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.end.c:373:7: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] bsd-games-2.17/hack/hack.end.c:702:7: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] bsd-games-2.17/hack/hack.end.c:501:32: style: Local variable 'killed' shadows outer function [shadowFunction] bsd-games-2.17/hack/extern.h:338:6: note: Shadowed declaration bsd-games-2.17/hack/hack.end.c:501:32: note: Shadow variable bsd-games-2.17/hack/hack.end.c:590:18: style: Local variable 'd' shadows outer function [shadowFunction] bsd-games-2.17/hack/extern.h:667:5: note: Shadowed declaration bsd-games-2.17/hack/hack.end.c:590:18: note: Shadow variable bsd-games-2.17/hack/hack.end.c:499:40: style: Parameter 't1' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.fight.c:167:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENORMOUS_ROCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.fight.c:201:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.fight.c:234:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PICK_AXE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.fight.c:385:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.invent.c:859:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.invent.c:935:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BOOMERANG [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.dog.c:286:29: style: Condition 'otyp==gtyp' is always true [knownConditionTrueFalse] bsd-games-2.17/hack/hack.dog.c:280:12: note: Assuming that condition 'otyp>gtyp' is not redundant bsd-games-2.17/hack/hack.dog.c:282:32: note: Assuming condition is false bsd-games-2.17/hack/hack.dog.c:286:13: note: Assuming that condition 'otypcursed' is always false [knownConditionTrueFalse] bsd-games-2.17/hack/hack.steal.c:182:20: note: Assignment 'otmp->cursed=0', assigned value is 0 bsd-games-2.17/hack/hack.steal.c:186:15: note: Condition 'otmp->cursed' is always false bsd-games-2.17/hack/hack.termcap.c:251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.termcap.c:325:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.termcap.c:334:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/hack/hack.termcap.c:92:28: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.timeout.c:76:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.timeout.c:126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.track.c:101:26: style: Local variable 'dist' shadows outer function [shadowFunction] bsd-games-2.17/hack/extern.h:330:5: note: Shadowed declaration bsd-games-2.17/hack/hack.track.c:101:26: note: Shadow variable bsd-games-2.17/hack/hack.trap.c:122:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Levitation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.trap.c:305:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEAD_COCKATRICE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.trap.c:370:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Teleport_control [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.trap.c:394:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.trap.c:422:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENORMOUS_ROCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.trap.c:434:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Teleportation [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.trap.c:483:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Teleport_control [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.trap.c:542:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCR_BLANK_PAPER [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.tty.c:136:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ospeed [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.tty.c:158:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.tty.c:169:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.tty.c:181:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.tty.c:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.tty.c:321:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.tty.c:355:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.trap.c:212:18: style: Variable 'trap' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.unix.c:117:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tm_year [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.unix.c:151:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tm_hour [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.unix.c:159:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tm_hour [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.unix.c:254:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.unix.c:273:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.u_init.c:166:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable roles [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.u_init.c:346:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAN_WISHING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.u_init.c:403:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NROFOBJECTS [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.unix.c:111:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bsd-games-2.17/hack/hack.unix.c:124:18: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.unix.c:136:18: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.unix.c:527:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.shk.c:209:18: style: Variable 'eshk' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.shk.c:223:18: style: Parameter 'mtmp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.shk.c:261:18: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.shk.c:393:18: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.shk.c:652:18: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.shk.c:863:18: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.shk.c:599:7: 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] bsd-games-2.17/hack/hack.shk.c:776:7: 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] bsd-games-2.17/hack/hack.shk.c:838:13: 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] bsd-games-2.17/hack/hack.u_init.c:314:10: style: Local variable 'd' shadows outer function [shadowFunction] bsd-games-2.17/hack/extern.h:667:5: note: Shadowed declaration bsd-games-2.17/hack/hack.u_init.c:314:10: note: Shadow variable bsd-games-2.17/hack/hack.u_init.c:395:9: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.u_init.c:442:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hack/hack.vault.c:126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcbeg [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.vault.c:149:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fcbeg [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.vault.c:220:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gddone [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.vault.c:271:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gddone [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.wield.c:101:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TWO_HANDED_SWORD [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.wield.c:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CRYSKNIFE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.wizard.c:116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMULET_OF_YENDOR [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.wizard.c:196:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LAST_RING [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.worm.c:120:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nseg [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.worm.c:225:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONG_SWORD [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.worm.c:154:15: warning: Either the condition 'wtmp==0' is redundant or there is possible null pointer dereference: wtmp. [nullPointerRedundantCheck] bsd-games-2.17/hack/hack.worm.c:152:11: note: Assuming that condition 'wtmp==0' is not redundant bsd-games-2.17/hack/hack.worm.c:154:15: note: Null pointer dereference bsd-games-2.17/hack/hack.worm.c:194:9: warning: Either the condition '!wtmp' is redundant or there is possible null pointer dereference: wtmp. [nullPointerRedundantCheck] bsd-games-2.17/hack/hack.worm.c:192:6: note: Assuming that condition '!wtmp' is not redundant bsd-games-2.17/hack/hack.worm.c:194:9: note: Null pointer dereference bsd-games-2.17/hack/hack.worm.c:288:6: warning: Either the condition 'wtmp==0' is redundant or there is possible null pointer dereference: wtmp. [nullPointerRedundantCheck] bsd-games-2.17/hack/hack.worm.c:152:11: note: Assuming that condition 'wtmp==0' is not redundant bsd-games-2.17/hack/hack.worm.c:155:9: note: Calling function 'remseg', 1st argument 'wtmp' value is 0 bsd-games-2.17/hack/hack.worm.c:288:6: note: Null pointer dereference bsd-games-2.17/hack/hack.worm.c:95:18: style: Parameter 'mtmp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/hack.vault.c:371:18: style: Parameter 'mtmp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hack/makedefs.c:101:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.zap.c:153:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.zap.c:282:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.zap.c:523:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable typ [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.zap.c:698:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CORPSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.zap.c:733:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hangman/getguess.c:79:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hangman/getguess.c:106:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/hangman/getword.c:56:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] bsd-games-2.17/hangman/main.c:65:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/hangman/main.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] bsd-games-2.17/hangman/playgame.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hangman/prdata.c:52:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] bsd-games-2.17/hangman/prdata.c:50:8: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hangman/setup.c:59:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/connect.c:53:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Socket [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/connect.c:58:21: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] bsd-games-2.17/hunt/hunt/hunt.c:143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_CLOAK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/hunt.c:704:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEIGHT [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/hunt.c:829:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/hunt.c:885:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEIGHT [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/hunt.c:908:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/hunt.c:944:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEIGHT [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/hunt.c:1008:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_CLOAK [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/hunt.c:1139:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:113:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Socket [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:250:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:286:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Buf [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:330:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Last_player [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:507:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:541:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCREEN_WIDTH [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:569:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CE [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:600:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/playit.c:648:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Socket [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/huntd/answer.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/hunt/hunt.c:808:8: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hunt/hunt/hunt.c:999:15: style: Variable 'envname' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hunt/huntd/driver.c:122:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/huntd/driver.c:279:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/huntd/driver.c:662:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLIME [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/huntd/driver.c:851:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable revents [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/huntd/driver.c:920:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bsd-games-2.17/hack/hack.zap.c:195:18: style: Local variable 'obj' shadows outer variable [shadowVariable] bsd-games-2.17/hack/hack.zap.c:391:18: note: Shadowed declaration bsd-games-2.17/hack/hack.zap.c:195:18: note: Shadow variable bsd-games-2.17/hack/hack.zap.c:438:18: style: Local variable 'sym' shadows outer variable [shadowVariable] bsd-games-2.17/hack/hack.zap.c:387:18: note: Shadowed declaration bsd-games-2.17/hack/hack.zap.c:438:18: note: Shadow variable bsd-games-2.17/hack/hack.zap.c:503:18: style: Local variable 'range' shadows outer variable [shadowVariable] bsd-games-2.17/hack/hack.zap.c:386:28: note: Shadowed declaration bsd-games-2.17/hack/hack.zap.c:503:18: note: Shadow variable bsd-games-2.17/hack/hack.zap.c:744:18: style: Local variable 'obj' shadows outer variable [shadowVariable] bsd-games-2.17/hack/hack.zap.c:391:18: note: Shadowed declaration bsd-games-2.17/hack/hack.zap.c:744:18: note: Shadow variable bsd-games-2.17/hack/hack.zap.c:696:18: style: Variable 'mtmp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hunt/huntd/draw.c:188:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/hunt/huntd/draw.c:212:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/hunt/huntd/draw.c:47:8: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hunt/huntd/draw.c:290:10: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hunt/huntd/draw.c:394:10: style: Variable 'npp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hunt/huntd/driver.c:936:10: error: Resource handle 's' freed twice. [doubleFree] bsd-games-2.17/hunt/huntd/driver.c:929:7: note: Resource handle 's' freed twice. bsd-games-2.17/hunt/huntd/driver.c:936:10: note: Resource handle 's' freed twice. bsd-games-2.17/hunt/huntd/driver.c:642:9: style: Variable 'savefd' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/hunt/huntd/expl.c:195:1: style: Label 'found' is not used. [unusedLabel] bsd-games-2.17/hunt/huntd/shots.c:638:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALL [valueFlowBailoutIncompleteVar] bsd-games-2.17/lib/fgetln.c:40:9: style: Variable 'res' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hunt/huntd/makemaze.c:88:7: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/hunt/huntd/makemaze.c:90:7: style: Variable 'endp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/lib/getloadavg.c:48:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/hunt/huntd/shots.c:1004:18: style: Parameter 'obp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/hunt/huntd/shots.c:1141:10: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/mille/mille.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/mille.c:144:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/mille.c:158:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/init.c:62:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/init.c:115:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/init.c:179:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/mille.c:65:10: warning: If resource allocation fails, then there is a possible null pointer dereference: outf [nullPointerOutOfResources] bsd-games-2.17/mille/mille.c:64:15: note: Assuming allocation function fails bsd-games-2.17/mille/mille.c:64:15: note: Assignment 'outf=fopen("q","w")', assigned value is 0 bsd-games-2.17/mille/mille.c:65:10: note: Null pointer dereference bsd-games-2.17/mille/misc.c:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/misc.c:134:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/misc.c:184:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/misc.c:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/comp.c:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/comp.c:420:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/comp.c:458:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/misc.c:80:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/mille/misc.c:144:10: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/mille/misc.c:144:15: style: Variable 'op' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/mille/init.c:158:13: style: Variable 'Sh_discard' is reassigned a value before the old one has been used. [redundantAssignment] bsd-games-2.17/mille/init.c:136:14: note: Sh_discard is assigned bsd-games-2.17/mille/init.c:158:13: note: Sh_discard is overwritten bsd-games-2.17/mille/print.c:64:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/print.c:130:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/move.c:78:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/move.c:198:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/move.c:226:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/move.c:366:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/move.c:492:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/move.c:347:15: style: Condition 'Next==(bool)-1' is always false [knownConditionTrueFalse] bsd-games-2.17/mille/move.c:369:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/mille/move.c:174:13: style: Variable 'op' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/mille/save.c:72:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Fromfile [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/save.c:153:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/table.c:59:8: style: Parameter 'argv' can be declared as const array [constParameter] bsd-games-2.17/mille/save.c:129:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/mille/save.c:165:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/mille/save.c:63:6: style: Local variable 'outf' shadows outer variable [shadowVariable] bsd-games-2.17/mille/mille.h:224:14: note: Shadowed declaration bsd-games-2.17/mille/save.c:63:6: note: Shadow variable bsd-games-2.17/monop/cards.c:81:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_cards [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/cards.c:100:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int64_t [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/cards.c:147:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_play [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/cards.c:236:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/execute.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/execute.c:88:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/execute.c:121:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/execute.c:138:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/execute.c:249:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/cards.c:138:17: error: Expression 'dp->last_card=++(dp->last_card)%dp->num_cards' depends on order of evaluation of side effects [unknownEvaluationOrder] bsd-games-2.17/monop/execute.c:91:3: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/execute.c:93:4: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/execute.c:101:4: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/execute.c:107:3: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/execute.c:188:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/monop/execute.c:207:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/monop/execute.c:230:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/monop/execute.c:268:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/monop/execute.c:245:7: style: Local variable 'buf' shadows outer variable [shadowVariable] bsd-games-2.17/monop/execute.c:55:13: note: Shadowed declaration bsd-games-2.17/monop/execute.c:245:7: note: Shadow variable bsd-games-2.17/monop/execute.c:183:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/execute.c:246:16: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/houses.c:65:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/houses.c:128:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable desc [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/houses.c:179:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/houses.c:231:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable desc [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/initdeck.c:112:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/initdeck.c:201:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/initdeck.c:234:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/initdeck.c:241:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/monop/initdeck.c:181:8: style: Parameter 'av' can be declared as const array [constParameter] bsd-games-2.17/monop/initdeck.c:141:9: error: Uninitialized variable: &nc [uninitvar] bsd-games-2.17/monop/houses.c:77:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/houses.c:79:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/houses.c:188:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/houses.c:68:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/monop/houses.c:119:8: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/houses.c:222:8: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/houses.c:276:10: style: Variable 'sqp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/jail.c:50:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/jail.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gojf_used [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/jail.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/jail.c:103:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_jail [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/jail.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/jail.c:111:7: style: Variable 'r1' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/monop/misc.c:56:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yncoms [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/misc.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable money [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/misc.c:84:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable player [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/misc.c:135:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable play [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/misc.c:241:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monop [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/misc.c:256:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable monop [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/misc.c:266:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable player [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/misc.c:277:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name_list [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/misc.c:219:15: warning: Either the condition 'orig==0' is redundant or there is possible null pointer dereference: orig. [nullPointerRedundantCheck] bsd-games-2.17/monop/misc.c:198:13: note: Assuming that condition 'orig==0' is not redundant bsd-games-2.17/monop/misc.c:219:15: note: Null pointer dereference bsd-games-2.17/monop/misc.c:113:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/monop/misc.c:133:7: style: Variable 'orig_op' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/malloc.c:444:18: style: Parameter 'freep' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/monop/malloc.c:277:5: 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] bsd-games-2.17/monop/monop.c:81:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_luck [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/monop.c:113:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_play [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/monop.c:167:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_play [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/monop.c:196:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mon [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/morg.c:122:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable own_list [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/morg.c:145:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/morg.c:189:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable own_list [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/morg.c:208:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/morg.c:223:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable told_em [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/morg.c:236:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable told_em [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/monop.c:175:4: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/monop.c:126:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/monop/print.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_SQRS [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/print.c:72:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_play [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/print.c:93:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/print.c:185:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable play [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/prop.c:55:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trading [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/prop.c:73:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OWN [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/prop.c:106:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable board [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/prop.c:155:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/prop.c:166:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PL [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/print.c:90:8: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/print.c:91:10: style: Variable 'sqp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/print.c:152:7: style: Variable 'rnt' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/monop/print.c:153:7: style: Variable 'rnt' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/monop/prop.c:215:8: style: Parameter 'plp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/monop/rent.c:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable play [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/roll.c:77:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/rent.c:48:10: style: Parameter 'sqp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/monop/rent.c:51:8: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/mille/comp.c:98:7: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/mille/comp.c:199:18: style: Condition '--cango<=0' is always true [knownConditionTrueFalse] bsd-games-2.17/mille/comp.c:192:27: note: Assuming that condition 'cango' is not redundant bsd-games-2.17/mille/comp.c:199:18: note: Condition '--cango<=0' is always true bsd-games-2.17/monop/spec.c:54:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable money [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/spec.c:79:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable loc [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/spec.c:86:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable money [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/spec.c:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_D [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/spec.c:98:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CH_D [valueFlowBailoutIncompleteVar] bsd-games-2.17/mille/comp.c:54:14: style: Variable 'op' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/monop/trade.c:69:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trading [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/trade.c:114:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PRP [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/trade.c:186:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/trade.c:224:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable play [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/trade.c:249:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable money [valueFlowBailoutIncompleteVar] bsd-games-2.17/morse/morse.c:142:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/number/number.c:109:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] bsd-games-2.17/number/number.c:297:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/monop/trade.c:190:33: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/trade.c:193:4: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/trade.c:197:4: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean] bsd-games-2.17/monop/trade.c:134:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/phantasia/gamesupport.c:118:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/gamesupport.c:462:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_SCORE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/gamesupport.c:480:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/gamesupport.c:519:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/fight.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/fight.c:303:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/fight.c:408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/fight.c:656:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/fight.c:950:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/interplayer.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/interplayer.c:328:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/interplayer.c:371:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/interplayer.c:396:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/interplayer.c:587:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/interplayer.c:638:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/interplayer.c:674:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/gamesupport.c:438:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] bsd-games-2.17/phantasia/gamesupport.c:539:40: warning: Uninitialized variable: sbuf.sb_level [uninitvar] bsd-games-2.17/phantasia/gamesupport.c:521:38: note: Assuming condition is false bsd-games-2.17/phantasia/gamesupport.c:539:40: note: Uninitialized variable: sbuf.sb_level bsd-games-2.17/phantasia/io.c:20:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/io.c:68:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/io.c:91:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/io.c:118:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/io.c:165:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/io.c:225:9: style: Condition '!def' is always true [knownConditionTrueFalse] bsd-games-2.17/phantasia/io.c:221:8: note: Assuming that condition 'def' is not redundant bsd-games-2.17/phantasia/io.c:225:9: note: Condition '!def' is always true bsd-games-2.17/phantasia/main.c:71:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/main.c:278:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/main.c:338:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/main.c:423:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/main.c:628:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/main.c:743:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/main.c:825:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/main.c:1011:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/main.c:1019:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/map.c:6:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] bsd-games-2.17/phantasia/map.c:130:1: portability: Omitted return type of function 'plusplus' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] bsd-games-2.17/phantasia/map.c:147:1: portability: Omitted return type of function 'plusminus' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] bsd-games-2.17/phantasia/interplayer.c:644:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/interplayer.c:643:13: note: Assuming allocation function fails bsd-games-2.17/phantasia/interplayer.c:643:13: note: Assignment 'fp=fopen(_PATH_MESS,"w")', assigned value is 0 bsd-games-2.17/phantasia/interplayer.c:644:11: note: Null pointer dereference bsd-games-2.17/phantasia/interplayer.c:645:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/interplayer.c:643:13: note: Assuming allocation function fails bsd-games-2.17/phantasia/interplayer.c:643:13: note: Assignment 'fp=fopen(_PATH_MESS,"w")', assigned value is 0 bsd-games-2.17/phantasia/interplayer.c:645:10: note: Null pointer dereference bsd-games-2.17/phantasia/interplayer.c:651:49: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/interplayer.c:650:13: note: Assuming allocation function fails bsd-games-2.17/phantasia/interplayer.c:650:13: note: Assignment 'fp=fopen(_PATH_VOID,"w")', assigned value is 0 bsd-games-2.17/phantasia/interplayer.c:651:49: note: Null pointer dereference bsd-games-2.17/phantasia/interplayer.c:652:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/interplayer.c:650:13: note: Assuming allocation function fails bsd-games-2.17/phantasia/interplayer.c:650:13: note: Assignment 'fp=fopen(_PATH_VOID,"w")', assigned value is 0 bsd-games-2.17/phantasia/interplayer.c:652:10: note: Null pointer dereference bsd-games-2.17/phantasia/interplayer.c:722:11: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] bsd-games-2.17/phantasia/interplayer.c:726:12: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] bsd-games-2.17/phantasia/interplayer.c:866:21: style: Parameter 'vp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/phantasia/interplayer.c:245:13: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/phantasia/map.c:131:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/phantasia/map.c:148:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/phantasia/misc.c:19:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:155:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:405:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:423:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:575:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:654:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_LASTDEAD [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:754:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:787:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:900:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:945:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable printw [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:974:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/misc.c:1063:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_GOLD [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/setup.c:76:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/setup.c:226:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/phantasia/setup.c:113:21: warning: Uninitialized variable: path [uninitvar] bsd-games-2.17/phantasia/setup.c:91:22: note: Assuming condition is false bsd-games-2.17/phantasia/setup.c:113:21: note: Uninitialized variable: path bsd-games-2.17/phantasia/main.c:289:15: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] bsd-games-2.17/phantasia/main.c:290:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bsd-games-2.17/phantasia/main.c:514:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/main.c:511:13: note: Assuming allocation function fails bsd-games-2.17/phantasia/main.c:511:13: note: Assignment 'fp=fopen(_PATH_MESS,"w")', assigned value is 0 bsd-games-2.17/phantasia/main.c:514:10: note: Null pointer dereference bsd-games-2.17/pig/pig.c:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] bsd-games-2.17/pig/pig.c:140:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/ppt/ppt.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/ppt/ppt.c:89:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] bsd-games-2.17/pom/pom.c:283:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/pom/pom.c:265:17: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] bsd-games-2.17/pom/pom.c:111:4: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bsd-games-2.17/pom/pom.c:234:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] bsd-games-2.17/pom/pom.c:265:17: style: Variable 'p' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/phantasia/misc.c:655:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/misc.c:654:12: note: Assuming allocation function fails bsd-games-2.17/phantasia/misc.c:654:12: note: Assignment 'fp=fopen(_PATH_LASTDEAD,"w")', assigned value is 0 bsd-games-2.17/phantasia/misc.c:655:10: note: Null pointer dereference bsd-games-2.17/phantasia/misc.c:658:9: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/misc.c:654:12: note: Assuming allocation function fails bsd-games-2.17/phantasia/misc.c:654:12: note: Assignment 'fp=fopen(_PATH_LASTDEAD,"w")', assigned value is 0 bsd-games-2.17/phantasia/misc.c:658:9: note: Null pointer dereference bsd-games-2.17/phantasia/misc.c:662:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/misc.c:661:12: note: Assuming allocation function fails bsd-games-2.17/phantasia/misc.c:661:12: note: Assignment 'fp=fopen(_PATH_MESS,"w")', assigned value is 0 bsd-games-2.17/phantasia/misc.c:662:10: note: Null pointer dereference bsd-games-2.17/phantasia/misc.c:663:9: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] bsd-games-2.17/phantasia/misc.c:661:12: note: Assuming allocation function fails bsd-games-2.17/phantasia/misc.c:661:12: note: Assignment 'fp=fopen(_PATH_MESS,"w")', assigned value is 0 bsd-games-2.17/phantasia/misc.c:663:9: note: Null pointer dereference bsd-games-2.17/phantasia/misc.c:1067:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] bsd-games-2.17/phantasia/misc.c:1070:10: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] bsd-games-2.17/phantasia/misc.c:67:17: style: Parameter 'playerp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/phantasia/misc.c:449:17: style: Parameter 'playerp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/phantasia/misc.c:686:17: style: Parameter 'playerp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/phantasia/misc.c:980:17: style: Parameter 'playerp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/primes/primes.c:130:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] bsd-games-2.17/primes/primes.c:198:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/primes/primes.c:338:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/quiz/quiz.c:90:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_QUIZIDX [valueFlowBailoutIncompleteVar] bsd-games-2.17/quiz/quiz.c:174:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_PAGER [valueFlowBailoutIncompleteVar] bsd-games-2.17/quiz/quiz.c:285:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/quiz/quiz.c:386:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/primes/primes.c:228:8: style: Variable 'tab_lim' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/quiz/quiz.c:366:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bsd-games-2.17/quiz/quiz.c:366:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bsd-games-2.17/quiz/quiz.c:368:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bsd-games-2.17/quiz/quiz.c:369:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bsd-games-2.17/quiz/quiz.c:236:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/rain/rain.c:85:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/rain/rain.c:148:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/random/random.c:94:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] bsd-games-2.17/random/random.c:156:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/quiz/rxp.c:275:16: style: Variable 'rp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/robots/auto.c:153:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/flush_in.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/init_field.c:55:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/main.c:64:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/main.c:229:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/make_level.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/auto.c:182:15: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/robots/auto.c:206:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/robots/auto.c:259:9: style: Parameter 'rob' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/robots/auto.c:274:9: style: Parameter 'rob' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/robots/auto.c:275:9: style: Parameter 'hp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/robots/auto.c:331:9: style: Parameter 'rob' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/robots/auto.c:332:9: style: Parameter 'hp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/robots/move.c:154:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/move_robs.c:87:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/move.c:232:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/move.c:254:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/move.c:292:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/move.c:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/play_level.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/query.c:54:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdscr [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/score.c:121:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/score.c:224:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/robots/move.c:96:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/robots/score.c:198:12: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bsd-games-2.17/robots/score.c:199:3: warning: Either the condition '(pp=getpwuid(scp->s_uid))==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] bsd-games-2.17/robots/score.c:198:34: note: Assuming that condition '(pp=getpwuid(scp->s_uid))==NULL' is not redundant bsd-games-2.17/robots/score.c:199:3: note: Null pointer dereference bsd-games-2.17/robots/score.c:200:23: warning: Either the condition '(pp=getpwuid(scp->s_uid))==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] bsd-games-2.17/robots/score.c:198:34: note: Assuming that condition '(pp=getpwuid(scp->s_uid))==NULL' is not redundant bsd-games-2.17/robots/score.c:200:23: note: Null pointer dereference bsd-games-2.17/sail/dr_2.c:67:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/dr_1.c:61:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/dr_1.c:97:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/dr_1.c:359:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable qual [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/dr_2.c:190:24: style: Parameter 'ship' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/sail/dr_4.c:52:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/dr_4.c:64:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/dr_5.c:89:6: style: Variable 'c3' is reassigned a value before the old one has been used. [redundantAssignment] bsd-games-2.17/sail/dr_5.c:88:6: note: c3 is assigned bsd-games-2.17/sail/dr_5.c:89:6: note: c3 is overwritten bsd-games-2.17/sail/dr_5.c:45:42: style: Parameter 'fromcap' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/sail/dr_5.c:68:41: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/sail/dr_3.c:270:13: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/dr_main.c:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/lo_main.c:69:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_LOGFILE [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/main.c:67:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/main.c:108:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] bsd-games-2.17/sail/dr_1.c:207:7: style: Clarify calculation precedence for '-' and '?'. [clarifyCalculation] bsd-games-2.17/sail/main.c:59:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/dr_1.c:230:10: style: Variable 'mento' is assigned a value that is never used. [unreadVariable] bsd-games-2.17/sail/lo_main.c:85:26: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bsd-games-2.17/sail/lo_main.c:64:13: style: Local variable 'people' shadows outer variable [shadowVariable] bsd-games-2.17/sail/extern.h:289:12: note: Shadowed declaration bsd-games-2.17/sail/lo_main.c:64:13: note: Shadow variable bsd-games-2.17/sail/lo_main.c:65:17: style: Variable 'pass' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/lo_main.c:67:15: style: Variable 'ship' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/parties.c:45:42: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/sail/parties.c:48:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/parties.c:60:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/parties.c:69:41: style: Parameter 'to' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/sail/pl_1.c:61:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_1.c:135:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/misc.c:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/misc.c:192:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/misc.c:207:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_LOGFILE [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_2.c:89:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_3.c:214:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_3.c:234:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_5.c:187:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nationality [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_5.c:253:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_6.c:130:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_7.c:84:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_7.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_7.c:175:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_7.c:207:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_7.c:216:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_7.c:238:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_7.c:259:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_main.c:87:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/sync.c:97:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/sync.c:112:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/sync.c:218:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/sync.c:325:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dir [valueFlowBailoutIncompleteVar] bsd-games-2.17/sail/pl_5.c:121:19: style: Condition 'moved' is always true [knownConditionTrueFalse] bsd-games-2.17/sail/pl_5.c:118:12: note: Assignment 'moved=1', assigned value is 1 bsd-games-2.17/sail/pl_5.c:121:19: note: Condition 'moved' is always true bsd-games-2.17/sail/pl_5.c:62:7: style: Local variable 'prompt' shadows outer function [shadowFunction] bsd-games-2.17/sail/extern.h:384:6: note: Shadowed declaration bsd-games-2.17/sail/pl_5.c:62:7: note: Shadow variable bsd-games-2.17/sail/pl_5.c:212:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/pl_main.c:222:3: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] bsd-games-2.17/sail/pl_main.c:67:15: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/pl_main.c:73:8: style: Variable 'nameptr' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/snake/snscore/snscore.c:98:11: warning: Either the condition 'noplayers>65534' is redundant or the array 'players[65534]' is accessed at index 65534, which is out of bounds. [arrayIndexOutOfBoundsCond] bsd-games-2.17/snake/snscore/snscore.c:94:18: note: Assuming that condition 'noplayers>65534' is not redundant bsd-games-2.17/snake/snscore/snscore.c:98:11: note: Array index out of bounds bsd-games-2.17/snake/snscore/snscore.c:99:11: warning: Either the condition 'noplayers>65534' is redundant or the array 'players[65534]' is accessed at index 65534, which is out of bounds. [arrayIndexOutOfBoundsCond] bsd-games-2.17/snake/snscore/snscore.c:94:18: note: Assuming that condition 'noplayers>65534' is not redundant bsd-games-2.17/snake/snscore/snscore.c:99:11: note: Array index out of bounds bsd-games-2.17/snake/snscore/snscore.c:100:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bsd-games-2.17/snake/snscore/snscore.c:75:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/sail/sync.c:213:8: style: Variable 'astr' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/tetris/input.c:88:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFTIM [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:151:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:435:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:460:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:503:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable col [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:582:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCIFLUSH [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:667:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:797:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:878:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:940:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] bsd-games-2.17/snake/snake/snake.c:972:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/scores.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/scores.c:203:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/scores.c:395:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/screen.c:222:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/screen.c:240:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/screen.c:259:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/screen.c:325:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/screen.c:349:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/screen.c:385:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/screen.c:498:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/screen.c:401:7: style: Local variable 'i' shadows outer variable [shadowVariable] bsd-games-2.17/tetris/screen.c:379:6: note: Shadowed declaration bsd-games-2.17/tetris/screen.c:401:7: note: Shadow variable bsd-games-2.17/tetris/screen.c:489:8: style: Parameter 's' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/tetris/scores.c:225:6: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] bsd-games-2.17/tetris/scores.c:227:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bsd-games-2.17/tetris/scores.c:323:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] bsd-games-2.17/tetris/scores.c:219:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/tetris/shapes.c:86:7: style: Variable 'o' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/tetris/shapes.c:103:7: style: Variable 'o' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/snake/snake/snake.c:558:6: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] bsd-games-2.17/snake/snake/snake.c:683:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:686:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:715:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:751:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:758:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:771:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:778:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:807:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:810:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:817:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:822:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:828:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:860:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:897:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/snake/snake/snake.c:1003:7: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] bsd-games-2.17/snake/snake/snake.c:897:4: error: Invalid usleep() argument nr 1. The value is 1500000 but the valid values are '0:999999'. [invalidFunctionArg] bsd-games-2.17/snake/snake/snake.c:642:33: error: Division by zero. [zerodiv] bsd-games-2.17/snake/snake/snake.c:640:2: note: After for loop, w has value 0 bsd-games-2.17/snake/snake/snake.c:642:33: note: Division by zero bsd-games-2.17/snake/snake/snake.c:520:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/snake/snake/snake.c:598:16: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] bsd-games-2.17/tetris/tetris.c:143:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/tetris/tetris.c:335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/abandon.c:74:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/tetris/tetris.c:106:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/trek/computer.c:304:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/damaged.c:55:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/trek/dcrept.c:64:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/trek/dumpgame.c:129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/dumpgame.c:135:9: warning: Either the condition '(fd=open("trek.dump",O_RDONLY))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] bsd-games-2.17/trek/dumpgame.c:129:41: note: Assuming that condition '(fd=open("trek.dump",O_RDONLY))<0' is not redundant bsd-games-2.17/trek/dumpgame.c:135:9: note: Invalid argument bsd-games-2.17/trek/computer.c:123:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/trek/computer.c:124:16: style: Variable 'e' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/trek/getpar.c:246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/getpar.c:265:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/getpar.c:284:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/getpar.c:309:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/help.c:90:16: style: Checking if unsigned expression 'Now.bases' is less than zero. [unsignedLessThanZero] bsd-games-2.17/trek/help.c:100:41: style: Checking if unsigned expression 'Quad[Ship.quadx][Ship.quady].bases' is less than zero. [unsignedLessThanZero] bsd-games-2.17/trek/initquad.c:68:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/trek/kill.c:110:15: style: Checking if unsigned expression 'q->bases' is less than zero. [unsignedLessThanZero] bsd-games-2.17/trek/events.c:189:18: style: Checking if unsigned expression 'Now.bases' is less than zero. [unsignedLessThanZero] bsd-games-2.17/trek/events.c:250:17: style: Checking if unsigned expression 'q->bases' is less than zero. [unsignedLessThanZero] bsd-games-2.17/trek/main.c:189:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable B1200 [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/torped.c:113:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] bsd-games-2.17/trek/warp.c:142:7: style: Variable 'dist' is reassigned a value before the old one has been used. [redundantAssignment] bsd-games-2.17/trek/warp.c:133:8: note: dist is assigned bsd-games-2.17/trek/warp.c:142:7: note: dist is overwritten bsd-games-2.17/trek/visual.c:77:13: style: Variable 'v' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/worm/worm.c:104:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/worm/worm.c:167:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] bsd-games-2.17/worm/worm.c:219:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/worm/worm.c:234:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] bsd-games-2.17/worm/worm.c:329:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLS [valueFlowBailoutIncompleteVar] bsd-games-2.17/worms/worms.c:212:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/wump/wump.c:157:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] bsd-games-2.17/wump/wump.c:348:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/wump/wump.c:678:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bsd-games-2.17/wump/wump.c:760:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_WUMPINFO [valueFlowBailoutIncompleteVar] bsd-games-2.17/wump/wump.c:792:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bsd-games-2.17/worms/worms.c:299:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] bsd-games-2.17/worms/worms.c:198:8: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] bsd-games-2.17/wump/wump.c:427:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] bsd-games-2.17/wump/wump.c:351:13: style: Variable 'next_room' is reassigned a value before the old one has been used. [redundantAssignment] bsd-games-2.17/wump/wump.c:345:4: note: next_room is assigned bsd-games-2.17/wump/wump.c:351:13: note: next_room is overwritten bsd-games-2.17/wump/wump.c:413:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diff: 2.17.0 bsd-games-2.17/battlestar/command1.c:189:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/command2.c:276:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] 2.17.0 bsd-games-2.17/battlestar/command3.c:114:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] 2.17.0 bsd-games-2.17/battlestar/command3.c:98:7: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/command3.c:97:16: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/command3.c:98:7: note: Shift 2.17.0 bsd-games-2.17/battlestar/command5.c:100:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] 2.17.0 bsd-games-2.17/battlestar/command5.c:201:5: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.17.0 bsd-games-2.17/battlestar/command5.c:275:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] 2.17.0 bsd-games-2.17/battlestar/command5.c:47:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] 2.17.0 bsd-games-2.17/battlestar/command6.c:109:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_SCORE [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/command6.c:126:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/command6.c:206:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] 2.17.0 bsd-games-2.17/battlestar/command7.c:78:112: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] 2.17.0 bsd-games-2.17/battlestar/cypher.c:119:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:118:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:119:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:137:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:136:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:137:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:186:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:185:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:186:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:206:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:205:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:206:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:224:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:223:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:224:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:241:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:240:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:241:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:258:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:257:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:258:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:275:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:274:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:275:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:292:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:291:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:292:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:312:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:311:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:312:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:335:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:334:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:335:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:359:10: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/cypher.c:358:19: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/cypher.c:359:10: note: Shift 2.17.0 bsd-games-2.17/battlestar/cypher.c:390:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/cypher.c:50:10: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] head bsd-games-2.17/battlestar/extern.h:378:1: error: There is an unknown macro here somewhere. Configuration is required. If int is a macro then please configure it. [unknownMacro] 2.17.0 bsd-games-2.17/battlestar/fly.c:193:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/fly.c:206:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/fly.c:219:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/fly.c:233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/fly.c:259:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/fly.c:293:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/fly.c:67:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/fly.c:89:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/getcom.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/battlestar/getcom.c:68:4: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] 2.17.0 bsd-games-2.17/battlestar/init.c:83:17: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] 2.17.0 bsd-games-2.17/battlestar/init.c:85:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] 2.17.0 bsd-games-2.17/battlestar/misc.c:64:7: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/misc.c:63:16: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/misc.c:64:7: note: Shift 2.17.0 bsd-games-2.17/battlestar/parse.c:105:16: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] 2.17.0 bsd-games-2.17/battlestar/room.c:70:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.17.0 bsd-games-2.17/battlestar/room.c:75:7: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] bsd-games-2.17/battlestar/room.c:74:16: note: Assuming that condition 'n<64' is not redundant bsd-games-2.17/battlestar/room.c:75:7: note: Shift 2.17.0 bsd-games-2.17/battlestar/save.c:163:10: style: Variable 'home' can be declared as pointer to const [constVariablePointer] head bsd-games-2.17/cribbage/io.c:248:6: style: Condition '!(line=getline())' is always false [knownConditionTrueFalse] head bsd-games-2.17/cribbage/io.c:349:7: style: Condition '!(p=getline())' is always false [knownConditionTrueFalse] head bsd-games-2.17/dab/algor.cc:161:12: performance:inconclusive: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.h:72:9: note: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.cc:161:12: note: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). head bsd-games-2.17/dab/algor.cc:207:12: performance:inconclusive: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.h:70:9: note: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.cc:207:12: note: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). head bsd-games-2.17/dab/algor.cc:63:12: performance:inconclusive: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.h:59:9: note: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.cc:63:12: note: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). 2.17.0 bsd-games-2.17/dab/algor.h:59:9: performance:inconclusive: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.cc:63:12: note: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.h:59:9: note: Technically the member function 'ALGOR::find_closure' can be static (but you may consider moving to unnamed namespace). 2.17.0 bsd-games-2.17/dab/algor.h:70:9: performance:inconclusive: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.cc:207:12: note: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.h:70:9: note: Technically the member function 'ALGOR::try_bad_turn' can be static (but you may consider moving to unnamed namespace). 2.17.0 bsd-games-2.17/dab/algor.h:72:9: performance:inconclusive: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). [functionStatic] bsd-games-2.17/dab/algor.cc:161:12: note: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). bsd-games-2.17/dab/algor.h:72:9: note: Technically the member function 'ALGOR::try_good_turn' can be static (but you may consider moving to unnamed namespace). head bsd-games-2.17/dab/box.cc:65:11: style:inconclusive: Technically the member function 'BOX::addcorner' can be const. [functionConst] bsd-games-2.17/dab/box.h:93:10: note: Technically the member function 'BOX::addcorner' can be const. bsd-games-2.17/dab/box.cc:65:11: note: Technically the member function 'BOX::addcorner' can be const. 2.17.0 bsd-games-2.17/dab/box.h:93:10: style:inconclusive: Technically the member function 'BOX::addcorner' can be const. [functionConst] bsd-games-2.17/dab/box.cc:65:11: note: Technically the member function 'BOX::addcorner' can be const. bsd-games-2.17/dab/box.h:93:10: note: Technically the member function 'BOX::addcorner' can be const. head bsd-games-2.17/fortune/fortune/fortune.c:209:3: error: #error "Need to define HAVE_REGCMP, HAVE_RE_COMP, or HAVE_REGCOMP" [preprocessorErrorDirective] head bsd-games-2.17/hack/hack.do_name.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] head bsd-games-2.17/hack/hack.invent.c:217:47: warning: Either the condition '!otmp' is redundant or there is possible null pointer dereference: otmp. [nullPointerRedundantCheck] bsd-games-2.17/hack/hack.invent.c:218:8: note: Assuming that condition '!otmp' is not redundant bsd-games-2.17/hack/hack.invent.c:217:47: note: Null pointer dereference head bsd-games-2.17/hack/hack.invent.c:234:50: warning: Either the condition '!gtmp' is redundant or there is possible null pointer dereference: gtmp. [nullPointerRedundantCheck] bsd-games-2.17/hack/hack.invent.c:235:8: note: Assuming that condition '!gtmp' is not redundant bsd-games-2.17/hack/hack.invent.c:234:50: note: Null pointer dereference 2.17.0 bsd-games-2.17/phantasia/gamesupport.c:494:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.17.0 bsd-games-2.17/phantasia/gamesupport.c:68:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.17.0 bsd-games-2.17/phantasia/main.c:169:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] head bsd-games-2.17/snake/snake/snake.c:503:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable col [valueFlowBailoutIncompleteVar] 2.17.0 bsd-games-2.17/snake/snake/snake.c:503:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] DONE