2024-03-25 22:08 ftp://ftp.de.debian.org/debian/pool/main/s/sunclock/sunclock_3.57.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-101-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.55 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 82f05c8 (2024-03-25 22:58:58 +0100) count: 256 165 elapsed-time: 28.4 36.2 head-timing-info: old-timing-info: head results: sunclock-3.57/astro.c:362:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/astro.c:432:16: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sunclock-3.57/astro.c:13:12: style: Parameter 't' can be declared as pointer to const [constParameterPointer] sunclock-3.57/astro.c:502:15: style: Variable 'BetaM' is assigned a value that is never used. [unreadVariable] sunclock-3.57/astro.c:532:17: style: Variable 'MoonPar' is assigned a value that is never used. [unreadVariable] sunclock-3.57/dirlist.c:76:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/dirlist.c:124:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] sunclock-3.57/dirlist.c:149:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] sunclock-3.57/dirlist.c:121:27: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] sunclock-3.57/editkit/edit.c:783:20: error: There is an unknown macro here somewhere. Configuration is required. If HELP is a macro then please configure it. [unknownMacro] sunclock-3.57/editkit/termcap.c:400:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/termcap.c:410:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/termcap.c:435:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/termcap.c:493:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/termcap.c:570:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALT_KEY_BINDINGS [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/termcap.c:700:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_RC [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/termcap.c:766:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/termcap.c:776:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y1 [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/termcap.c:591:27: style:inconclusive: Boolean expression 'key4!=0x7e' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] sunclock-3.57/editkit/termcap.c:694:8: style: Condition 'ptr' is always true [knownConditionTrueFalse] sunclock-3.57/editkit/termcap.c:397:18: style:inconclusive: Function 'cputs' argument 1 names different: declaration 'str' definition 'prntstr'. [funcArgNamesDifferent] sunclock-3.57/editkit/termcap.c:357:18: note: Function 'cputs' argument 1 names different: declaration 'str' definition 'prntstr'. sunclock-3.57/editkit/termcap.c:397:18: note: Function 'cputs' argument 1 names different: declaration 'str' definition 'prntstr'. sunclock-3.57/editkit/termcap.c:542:14: style: Local variable 's' shadows outer variable [shadowVariable] sunclock-3.57/editkit/edit.h:95:8: note: Shadowed declaration sunclock-3.57/editkit/termcap.c:542:14: note: Shadow variable sunclock-3.57/editkit/termcap.c:397:18: style: Parameter 'prntstr' can be declared as pointer to const [constParameterPointer] sunclock-3.57/editkit/termcap.c:406:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] sunclock-3.57/editkit/termcap.c:536:18: style: Variable 'k1' can be declared as const array [constVariable] sunclock-3.57/editkit/termcap.c:537:18: style: Variable 'k2' can be declared as const array [constVariable] sunclock-3.57/editkit/termcap.c:542:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] sunclock-3.57/editkit/termcap.c:637:22: style: Parameter 'arg1' can be declared as pointer to const [constParameterPointer] sunclock-3.57/editkit/termcap.c:690:20: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] sunclock-3.57/editkit/termcap.c:541:20: style: Variable 'key2' is assigned a value that is never used. [unreadVariable] sunclock-3.57/editkit/termcap.c:541:27: style: Variable 'key3' is assigned a value that is never used. [unreadVariable] sunclock-3.57/editkit/termcap.c:541:34: style: Variable 'key4' is assigned a value that is never used. [unreadVariable] sunclock-3.57/editkit/x11.c:363:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable executive [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:398:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:429:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:461:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECT_REALLOC [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:483:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectionNotify [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:591:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_RC [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:666:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:776:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:828:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable executive [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:841:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDIT [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:861:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] sunclock-3.57/editkit/x11.c:867:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/editkit/x11.c:585:8: style: Condition 'ptr' is always true [knownConditionTrueFalse] sunclock-3.57/editkit/x11.c:614:10: style: Local variable 'x' shadows outer variable [shadowVariable] sunclock-3.57/editkit/edit.h:78:5: note: Shadowed declaration sunclock-3.57/editkit/x11.c:614:10: note: Shadow variable sunclock-3.57/editkit/x11.c:614:13: style: Local variable 'y' shadows outer variable [shadowVariable] sunclock-3.57/editkit/edit.h:79:5: note: Shadowed declaration sunclock-3.57/editkit/x11.c:614:13: note: Shadow variable sunclock-3.57/editkit/x11.c:770:7: style: Local variable 'x' shadows outer variable [shadowVariable] sunclock-3.57/editkit/edit.h:78:5: note: Shadowed declaration sunclock-3.57/editkit/x11.c:770:7: note: Shadow variable sunclock-3.57/editkit/x11.c:770:18: style: Local variable 'y' shadows outer variable [shadowVariable] sunclock-3.57/editkit/edit.h:79:5: note: Shadowed declaration sunclock-3.57/editkit/x11.c:770:18: note: Shadow variable sunclock-3.57/editkit/x11.c:495:22: style: Parameter 'arg1' can be declared as pointer to const [constParameterPointer] sunclock-3.57/editkit/x11.c:581:20: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] sunclock-3.57/editkit/x11.c:837:22: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] sunclock-3.57/editkit/x11.c:429:9: style: Variable 'w' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readgif.c:181:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] sunclock-3.57/readgif.c:324:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/readgif.c:430:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/readgif.c:218:12: style:inconclusive: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. [funcArgNamesDifferent] sunclock-3.57/readgif.c:73:51: note: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. sunclock-3.57/readgif.c:218:12: note: Function 'ReadColorMap' argument 4 names different: declaration 'flag' definition 'gray'. sunclock-3.57/readgif.c:455:68: style:inconclusive: Function 'ReadImage' argument 5 names different: declaration 'bitPixel' definition 'cmapSize'. [funcArgNamesDifferent] sunclock-3.57/readgif.c:79:38: note: Function 'ReadImage' argument 5 names different: declaration 'bitPixel' definition 'cmapSize'. sunclock-3.57/readgif.c:455:68: note: Function 'ReadImage' argument 5 names different: declaration 'bitPixel' definition 'cmapSize'. sunclock-3.57/readgif.c:84:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] sunclock-3.57/readgif.c:106:7: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] sunclock-3.57/readgif.c:224:10: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readgif.c:233:7: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readgif.c:256:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readgif.c:259:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readgif.c:262:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readgif.c:266:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readgif.c:277:6: style: Variable 'str' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readjpeg.c:99:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] sunclock-3.57/readjpeg.c:130:8: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sunclock-3.57/readjpeg.c:130:8: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sunclock-3.57/readjpeg.c:68:7: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] sunclock-3.57/readjpeg.c:196:16: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] sunclock-3.57/readpng.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/readpng.c:109:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] sunclock-3.57/readpng.c:49:15: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] sunclock-3.57/readpng.c:90:7: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] sunclock-3.57/readpng.c:200:13: style: Variable 'destroy' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readpng.c:208:17: style: Variable 'png_data' is assigned a value that is never used. [unreadVariable] sunclock-3.57/readvmf.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/readvmf.c:276:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] sunclock-3.57/readvmf.c:357:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sunclock-3.57/readvmf.c:409:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/readvmf.c:463:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/readvmf.c:592:4: error: Common realloc mistake: 'palette' nulled but not freed upon failure [memleakOnRealloc] sunclock-3.57/readvmf.c:757:12: error: Common realloc mistake: 'ptr' nulled but not freed upon failure [memleakOnRealloc] sunclock-3.57/readvmf.c:718:13: style: Variable 'str' is reassigned a value before the old one has been used. [redundantAssignment] sunclock-3.57/readvmf.c:717:13: note: str is assigned sunclock-3.57/readvmf.c:718:13: note: str is overwritten sunclock-3.57/readvmf.c:419:8: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] sunclock-3.57/readxpm.c:32:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmColormap [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:2967:33: debug: Scope::checkVariable found variable 'bool' with varid 0. [varid0] sunclock-3.57/sunclock.c:465:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:480:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:540:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:593:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHAREDIR [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:755:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:778:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:863:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1019:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1150:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1198:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1336:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1789:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1842:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1865:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1918:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:1978:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AllocNone [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:2028:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:2292:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:2317:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:2390:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tzname [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:2914:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XYPixmap [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:3055:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:3089:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:3163:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:3317:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:3371:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:3440:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:3459:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:4109:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:4158:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:4317:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:4453:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:4470:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:4810:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_space [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:4875:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Z [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:5654:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:5865:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:6119:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Control_L [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:6205:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/sunclock.c:4211:46: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] sunclock-3.57/sunclock.c:955:9: warning:inconclusive: The buffer 'name' may not be null-terminated after the call to strncpy(). [terminateStrncpy] sunclock-3.57/sunclock.c:895:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] sunclock-3.57/sunclock.c:936:10: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] sunclock-3.57/sunclock.c:2135:16: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sunclock-3.57/sunclock.c:2143:19: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sunclock-3.57/sunclock.c:2205:16: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sunclock-3.57/sunclock.c:2212:16: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sunclock-3.57/sunclock.c:2233:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sunclock-3.57/sunclock.c:2237:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sunclock-3.57/sunclock.c:2238:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sunclock-3.57/sunclock.c:2359:24: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sunclock-3.57/sunclock.c:2360:24: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sunclock-3.57/sunclock.c:2427:35: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sunclock-3.57/sunclock.c:2457:19: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sunclock-3.57/sunclock.c:2459:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sunclock-3.57/sunclock.c:2479:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sunclock-3.57/sunclock.c:2526:21: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sunclock-3.57/sunclock.c:3154:9: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] sunclock-3.57/sunclock.c:4656:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/sunclock.c:4738:10: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/sunclock.c:4760:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/sunclock.c:5930:12: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/sunclock.c:6149:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/sunclock.c:2611:39: warning: Logical conjunction always evaluates to false: Context->flags.shading <= 1 && Context->flags.shading >= 4. [incorrectLogicOperator] sunclock-3.57/sunclock.c:2878:14: style: Condition 'mode>=3' is always true [knownConditionTrueFalse] sunclock-3.57/sunclock.c:2874:14: note: Assuming that condition 'mode==2' is not redundant sunclock-3.57/sunclock.c:2878:14: note: Condition 'mode>=3' is always true sunclock-3.57/sunclock.c:863:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sunclock-3.57/sunclock.c:863:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sunclock-3.57/sunclock.c:915:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] sunclock-3.57/sunclock.c:942:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] sunclock-3.57/sunclock.c:1018:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] sunclock-3.57/sunclock.c:1249:36: style: Redundant assignment of 'gflags.dms' to itself. [selfAssignment] sunclock-3.57/sunclock.c:1806:12: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] sunclock-3.57/sunclock.c:840:9: style: Checking if unsigned expression 'j' is less than zero. [unsignedLessThanZero] sunclock-3.57/sunclock.c:416:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sunclock-3.57/sunclock.c:617:17: style: Parameter 'scan' can be declared as pointer to const [constParameterPointer] sunclock-3.57/sunclock.c:701:7: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] sunclock-3.57/sunclock.c:891:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] sunclock-3.57/sunclock.c:1640:31: style: Variable 'str' can be declared as pointer to const [constVariablePointer] sunclock-3.57/sunclock.c:1708:8: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] sunclock-3.57/sunclock.c:1774:7: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] sunclock-3.57/sunclock.c:2079:10: style: Parameter 'cptr' can be declared as pointer to const [constParameterPointer] sunclock-3.57/sunclock.c:2127:7: style: Parameter 'city' can be declared as pointer to const [constParameterPointer] sunclock-3.57/sunclock.c:2968:22: style: Variable 'bits' can be declared as pointer to const [constVariablePointer] sunclock-3.57/sunclock.c:3177:10: style: Variable 'val' can be declared as const array [constVariable] sunclock-3.57/sunclock.c:3291:24: style: Variable 'val' can be declared as const array [constVariable] sunclock-3.57/sunclock.c:4105:7: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] sunclock-3.57/sunclock.c:4540:5: style: Variable 'dx' can be declared as const array [constVariable] sunclock-3.57/sunclock.c:4541:5: style: Variable 'dy' can be declared as const array [constVariable] sunclock-3.57/sunclock.c:6013:24: style: Parameter 'd' can be declared as pointer to const. However it seems that 'evpred' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sunclock-3.57/sunclock.c:6030:33: note: You might need to cast the function pointer here sunclock-3.57/sunclock.c:6013:24: note: Parameter 'd' can be declared as pointer to const sunclock-3.57/sunclock.c:6014:24: style: Parameter 'e' can be declared as pointer to const. However it seems that 'evpred' is a callback function, if 'e' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sunclock-3.57/sunclock.c:6030:33: note: You might need to cast the function pointer here sunclock-3.57/sunclock.c:6014:24: note: Parameter 'e' can be declared as pointer to const sunclock-3.57/sunclock.c:443:9: style: Variable 'tot' is assigned a value that is never used. [unreadVariable] sunclock-3.57/sunclock.c:1922:8: style: Variable 's' is assigned a value that is never used. [unreadVariable] sunclock-3.57/sunclock.c:4717:18: style: Variable 'Context' is assigned a value that is never used. [unreadVariable] sunclock-3.57/sunclock.c:5212:11: style: Variable 'key' is assigned a value that is never used. [unreadVariable] sunclock-3.57/sunclock.c:5551:14: style: Variable 'keysym' is assigned a value that is never used. [unreadVariable] sunclock-3.57/tildepath.c:99:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] sunclock-3.57/tildepath.c:101:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] sunclock-3.57/tildepath.c:58:7: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] sunclock-3.57/tildepath.c:67:20: style: Variable 'pwent' can be declared as pointer to const [constVariablePointer] sunclock-3.57/tools/concat.c:22:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sunclock-3.57/tools/concat.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/tools/concat.c:119:3: error: Common realloc mistake: 'x' nulled but not freed upon failure [memleakOnRealloc] sunclock-3.57/tools/concat.c:120:3: error: Common realloc mistake: 'y' nulled but not freed upon failure [memleakOnRealloc] sunclock-3.57/tools/concat.c:121:3: error: Common realloc mistake: 'col' nulled but not freed upon failure [memleakOnRealloc] sunclock-3.57/tools/concat.c:122:3: error: Common realloc mistake: 'len' nulled but not freed upon failure [memleakOnRealloc] sunclock-3.57/tools/concat.c:81:5: style: Local variable 'l' shadows outer variable [shadowVariable] sunclock-3.57/tools/concat.c:60:22: note: Shadowed declaration sunclock-3.57/tools/concat.c:81:5: note: Shadow variable sunclock-3.57/tools/concat.c:59:7: style: Variable 'str' can be declared as pointer to const [constVariablePointer] sunclock-3.57/tools/concat.c:94:5: error: Uninitialized variable: num [uninitvar] sunclock-3.57/widgets.c:238:19: debug: Function::addArguments found argument 'h' with varid 0. [varid0] sunclock-3.57/widgets.c:275:5: debug: Function::addArguments found argument 'bool' with varid 0. [varid0] sunclock-3.57/widgets.c:139:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_tmpdir [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:173:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:247:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:287:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XValue [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:354:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSize [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:476:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FocusChangeMask [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:543:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNegative [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:737:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:757:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:847:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Shift_L [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:968:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:1034:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:1216:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:1451:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:1485:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:1524:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:1555:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:1853:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:1986:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:2005:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:2037:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:2258:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:2316:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:2406:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:2537:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:2613:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setupUrban [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:2731:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sunclock-3.57/widgets.c:977:32: warning: Either the condition 'but_pos>=28' is redundant or the array 'MenuKey[28]' is accessed at index 54, which is out of bounds. [arrayIndexOutOfBoundsCond] sunclock-3.57/widgets.c:969:19: note: Assuming that condition 'but_pos>=28' is not redundant sunclock-3.57/widgets.c:977:32: note: Array index out of bounds sunclock-3.57/widgets.c:986:25: warning: Either the condition 'but_pos>=28' is redundant or the array 'MenuKey[28]' is accessed at index 54, which is out of bounds. [arrayIndexOutOfBoundsCond] sunclock-3.57/widgets.c:982:35: note: Assuming that condition 'but_pos>=28' is not redundant sunclock-3.57/widgets.c:986:25: note: Array index out of bounds sunclock-3.57/widgets.c:1852:26: warning: Either the condition 'but_pos>=14' is redundant or the array 'ZoomKey[14]' is accessed at index 26, which is out of bounds. [arrayIndexOutOfBoundsCond] sunclock-3.57/widgets.c:1848:19: note: Assuming that condition 'but_pos>=14' is not redundant sunclock-3.57/widgets.c:1852:26: note: Array index out of bounds sunclock-3.57/widgets.c:2257:34: warning: Either the condition 'but_pos>=12' is redundant or the array 'OptionKey[12]' is accessed at index 22, which is out of bounds. [arrayIndexOutOfBoundsCond] sunclock-3.57/widgets.c:2253:16: note: Assuming that condition 'but_pos>=12' is not redundant sunclock-3.57/widgets.c:2257:34: note: Array index out of bounds sunclock-3.57/widgets.c:2548:32: warning: Either the condition 'but_pos>=12' is redundant or the array 'UrbanKey[12]' is accessed at index 22, which is out of bounds. [arrayIndexOutOfBoundsCond] sunclock-3.57/widgets.c:2544:16: note: Assuming that condition 'but_pos>=12' is not redundant sunclock-3.57/widgets.c:2548:32: note: Array index out of bounds sunclock-3.57/widgets.c:728:49: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] sunclock-3.57/widgets.c:785:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] sunclock-3.57/widgets.c:787:6: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] sunclock-3.57/widgets.c:944:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/widgets.c:1186:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/widgets.c:1799:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/widgets.c:2134:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/widgets.c:2490:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/widgets.c:2677:26: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sunclock-3.57/widgets.c:371:9: style: Condition 'num>=2' is always true [knownConditionTrueFalse] sunclock-3.57/widgets.c:350:16: note: Assuming that condition 'num<=1' is not redundant sunclock-3.57/widgets.c:371:9: note: Condition 'num>=2' is always true sunclock-3.57/widgets.c:1091:11: style: Variable 'h' is reassigned a value before the old one has been used. [redundantAssignment] sunclock-3.57/widgets.c:1013:11: note: h is assigned sunclock-3.57/widgets.c:1091:11: note: h is overwritten sunclock-3.57/widgets.c:1590:37: style: Local variable 'num' shadows outer variable [shadowVariable] sunclock-3.57/widgets.c:1537:11: note: Shadowed declaration sunclock-3.57/widgets.c:1590:37: note: Shadow variable sunclock-3.57/widgets.c:347:26: style: Variable 'Geom' can be declared as pointer to const [constVariablePointer] sunclock-3.57/widgets.c:470:18: style: Parameter 'Context' can be declared as pointer to const [constParameterPointer] sunclock-3.57/widgets.c:762:11: style: Parameter 'Context' can be declared as pointer to const [constParameterPointer] sunclock-3.57/widgets.c:1203:16: style: Variable 'path' can be declared as pointer to const [constVariablePointer] sunclock-3.57/widgets.c:2148:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] sunclock-3.57/widgets.c:2148:15: style: Variable 'oldptr' can be declared as pointer to const [constVariablePointer] sunclock-3.57/widgets.c:2149:10: style: Variable 'zptr' can be declared as pointer to const [constVariablePointer] sunclock-3.57/widgets.c:2149:17: style: Variable 'zoldptr' can be declared as pointer to const [constVariablePointer] sunclock-3.57/widgets.c:2280:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] sunclock-3.57/widgets.c:2325:7: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] sunclock-3.57/widgets.c:2582:18: style: Parameter 'Context' can be declared as pointer to const [constParameterPointer] sunclock-3.57/widgets.c:2391:11: style: Variable 'vskip' is assigned a value that is never used. [unreadVariable] sunclock-3.57/widgets.c:2520:8: style: Variable 'vskip' is assigned a value that is never used. [unreadVariable] diff: head sunclock-3.57/dirlist.c:124:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPATHLEN [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/termcap.c:410:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/termcap.c:435:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/termcap.c:493:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/termcap.c:570:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALT_KEY_BINDINGS [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/termcap.c:700:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_RC [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/termcap.c:766:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/termcap.c:776:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y1 [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:398:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:429:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PRIMARY [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:461:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SELECT_REALLOC [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:483:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectionNotify [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:591:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_RC [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:666:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:776:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:828:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable executive [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:841:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDIT [valueFlowBailoutIncompleteVar] head sunclock-3.57/editkit/x11.c:861:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head sunclock-3.57/readgif.c:324:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/readgif.c:430:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/readpng.c:109:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] head sunclock-3.57/readvmf.c:276:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] head sunclock-3.57/readvmf.c:357:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head sunclock-3.57/readvmf.c:409:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/readvmf.c:463:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:1019:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:1150:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:1198:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:1249:36: style: Redundant assignment of 'gflags.dms' to itself. [selfAssignment] 2.13.0 sunclock-3.57/sunclock.c:1249:36: warning: Redundant assignment of 'gflags.dms' to itself. [selfAssignment] head sunclock-3.57/sunclock.c:1336:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:1789:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.13.0 sunclock-3.57/sunclock.c:1809:9: style: Condition 'rc' is always true [knownConditionTrueFalse] head sunclock-3.57/sunclock.c:1842:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:1865:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:1918:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:1978:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AllocNone [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:2028:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:2292:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:2317:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:2390:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tzname [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:2914:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XYPixmap [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:3055:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:3089:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:3163:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:3317:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:3371:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:3440:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:3459:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:4109:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:4158:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:4317:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:4453:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:4470:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:480:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:4810:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_space [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:4875:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Z [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:540:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:5654:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:5865:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:593:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHAREDIR [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:6013:24: style: Parameter 'd' can be declared as pointer to const. However it seems that 'evpred' is a callback function, if 'd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sunclock-3.57/sunclock.c:6030:33: note: You might need to cast the function pointer here sunclock-3.57/sunclock.c:6013:24: note: Parameter 'd' can be declared as pointer to const head sunclock-3.57/sunclock.c:6014:24: style: Parameter 'e' can be declared as pointer to const. However it seems that 'evpred' is a callback function, if 'e' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sunclock-3.57/sunclock.c:6030:33: note: You might need to cast the function pointer here sunclock-3.57/sunclock.c:6014:24: note: Parameter 'e' can be declared as pointer to const head sunclock-3.57/sunclock.c:6119:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Control_L [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:6205:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:755:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:778:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/sunclock.c:863:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/tools/concat.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:1034:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:1216:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPress [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:1451:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:1485:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:1524:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:1555:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:173:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:1853:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:1986:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:2005:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:2037:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:2258:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:2316:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:2406:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:247:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:2537:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonRelease [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:2613:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setupUrban [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:2731:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:287:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XValue [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:354:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PSize [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:476:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FocusChangeMask [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:543:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNegative [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:737:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ascent [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:757:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fid [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:847:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Shift_L [valueFlowBailoutIncompleteVar] head sunclock-3.57/widgets.c:968:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MotionNotify [valueFlowBailoutIncompleteVar] DONE