2022-06-25 08:07 ftp://ftp.de.debian.org/debian/pool/main/s/sphde/sphde_1.4.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 63e567e (2022-06-25 08:38:17 +0200) count: 1800 1799 elapsed-time: 25.5 24.1 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: sphde-1.4.0/examples/example_sph_4.c:97:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/examples/example_sph_4.c:343:20: style: Local variable 'emp_info_t' shadows outer variable [shadowVariable] sphde-1.4.0/examples/example_sph_4.c:58:3: note: Shadowed declaration sphde-1.4.0/examples/example_sph_4.c:343:20: note: Shadow variable sphde-1.4.0/src/bitv_priv.h:125:65: style: Parameter 'endvec' can be declared as pointer to const [constParameter] sphde-1.4.0/src/bitv_priv.h:153:69: style: Parameter 'endvec' can be declared as pointer to const [constParameter] sphde-1.4.0/src/ultree.h:18:1: style: The class 'uLongTreeNode' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] sphde-1.4.0/src/ultree.h:32:10: style:inconclusive: Technically the member function 'uLongTreeNode::getInfo' can be const. [functionConst] sphde-1.4.0/src/ultree.h:36:12: style:inconclusive: Technically the member function 'uLongTreeNode::getKey' can be const. [functionConst] sphde-1.4.0/src/sasalloc.cpp:81:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:82:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:92:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:103:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:123:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:124:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:151:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:152:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:320:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:464:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:472:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:477:12: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:483:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:489:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:495:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:501:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:506:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:511:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:517:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:523:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:627:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:646:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasalloc.cpp:139:18: style: The scope of the variable 'remaining' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:148:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:141:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:148:3: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:151:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:141:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:151:3: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:152:18: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:141:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:152:18: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:154:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:141:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:154:3: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:155:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:141:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:155:3: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:181:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:174:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:181:3: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:184:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:174:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:184:3: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:185:18: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:174:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:185:18: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:186:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:174:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:186:3: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:187:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:174:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:187:3: note: Null pointer dereference sphde-1.4.0/src/sascompoundheap.cpp:188:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sascompoundheap.cpp:174:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sascompoundheap.cpp:188:3: note: Null pointer dereference sphde-1.4.0/src/sasatom_generic.h:51:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasatom.h:279:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasatom.h:297:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasatom.h:313:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasatom.h:328:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasatom.h:347:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:387:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:442:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:518:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:538:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:559:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:579:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:597:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:617:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:635:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:655:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:673:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:693:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:711:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:731:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:749:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:769:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:787:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:814:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:859:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:880:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:898:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:916:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:934:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:952:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:970:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:988:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:1006:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:1024:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:1042:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:1060:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:1078:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:1096:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:120:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:133:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:143:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:144:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:165:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:176:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:177:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:186:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:187:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:193:3: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:223:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:230:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:238:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:262:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:310:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:314:3: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:329:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:346:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:348:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:358:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:361:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:387:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:390:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:399:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:402:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:428:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:452:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:457:44: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:489:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:528:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:530:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:533:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:586:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:588:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:592:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:662:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:664:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:666:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:676:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:679:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:689:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:718:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:720:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:724:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:734:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:737:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:753:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:786:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:788:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:790:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:816:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:818:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:820:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:848:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:851:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:862:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:867:43: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:892:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:899:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:933:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:940:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:943:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:968:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:975:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:978:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1006:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1013:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1016:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1044:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1051:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1054:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1081:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1088:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1091:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1118:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1125:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1128:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1156:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1163:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1166:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1194:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1197:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1230:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1267:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1273:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1282:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1285:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1311:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1335:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1340:44: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1372:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1412:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1424:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1426:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1429:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1482:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1484:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1488:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1558:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1560:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1562:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1572:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1575:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1585:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1614:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1616:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1620:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1630:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1633:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:1649:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlfentry.h:731:16: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] sphde-1.4.0/src/sphlfentry.h:749:18: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] sphde-1.4.0/src/sphlfentry.h:769:17: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] sphde-1.4.0/src/sphlfentry.h:787:18: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] sphde-1.4.0/src/sphlfentry.h:1042:16: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] sphde-1.4.0/src/sphlfentry.h:1060:18: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] sphde-1.4.0/src/sphlfentry.h:1078:17: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] sphde-1.4.0/src/sphlfentry.h:1096:18: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] sphde-1.4.0/src/sasatom.h:275:18: style: The scope of the variable 'locked' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:63:16: style: The scope of the variable 'heapFree' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:82:16: style: The scope of the variable 'heapFree' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:83:16: style: The scope of the variable 'heapUsed' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:253:13: style: The scope of the variable 'countNew' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:372:19: style: The scope of the variable 'simpleBlock' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:409:17: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:869:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:900:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:944:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:947:27: style: The scope of the variable 'subHeap' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:979:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:982:27: style: The scope of the variable 'subHeap' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1017:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1020:27: style: The scope of the variable 'subHeap' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1055:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1058:27: style: The scope of the variable 'subHeap' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1092:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1095:27: style: The scope of the variable 'subHeap' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1129:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1132:27: style: The scope of the variable 'subHeap' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1167:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1170:27: style: The scope of the variable 'subHeap' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1195:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1201:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1251:19: style: The scope of the variable 'simpleBlock' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1256:18: style: The scope of the variable 'stride' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:1292:17: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sascompoundheap.cpp:778:41: style:inconclusive: Function 'SASCompoundHeapNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. [funcArgNamesDifferent] sphde-1.4.0/src/sascompoundheap.h:444:59: note: Function 'SASCompoundHeapNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sascompoundheap.cpp:778:41: note: Function 'SASCompoundHeapNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sascompoundheap.cpp:807:35: style:inconclusive: Function 'SASCompoundHeapNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. [funcArgNamesDifferent] sphde-1.4.0/src/sascompoundheap.h:388:53: note: Function 'SASCompoundHeapNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sascompoundheap.cpp:807:35: note: Function 'SASCompoundHeapNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasindexkey.h:105:41: style: Condition 'op_a->compare_size!=op_b->compare_size' is always true [knownConditionTrueFalse] sphde-1.4.0/src/sasindex.cpp:122:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:114:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:109:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:109:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:122:5: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:125:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:114:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:109:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:109:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:125:5: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:126:19: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:114:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:109:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:109:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:126:19: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:128:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:114:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:109:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:109:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:128:5: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:130:57: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:114:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:109:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:109:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:130:57: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:173:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:165:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:158:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:158:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:173:5: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:176:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:165:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:158:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:158:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:176:5: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:177:19: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:165:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:158:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:158:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:177:19: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:178:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:165:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:158:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:158:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:178:5: note: Null pointer dereference sphde-1.4.0/src/sasindex.cpp:179:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindex.cpp:165:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindex.cpp:158:33: note: Assignment to 'heapBlock=(struct SASIndexHeader*)heap_seg' sphde-1.4.0/src/sasindex.cpp:158:31: note: heapBlock is assigned '(struct SASIndexHeader*)heap_seg' here. sphde-1.4.0/src/sasindex.cpp:179:5: note: Null pointer dereference sphde-1.4.0/src/sasindexpriv.h:68:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexpriv.h:73:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexpriv.h:94:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexpriv.h:96:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexpriv.h:98:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnodepriv.h:33:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnodepriv.h:38:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:95:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:109:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:116:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:117:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:130:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:158:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:167:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:168:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:178:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:179:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:183:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:200:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:217:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:245:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:257:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:265:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:273:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:298:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:329:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:332:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:341:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:344:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:369:22: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:389:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:395:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:425:22: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:460:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:462:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:465:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:510:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:512:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:516:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:577:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:579:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:581:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:589:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:591:27: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:600:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:626:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:628:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:632:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:640:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:642:27: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:655:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:697:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:700:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:709:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:715:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:746:22: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:791:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:793:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:797:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:805:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:807:27: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:824:45: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:829:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:859:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:861:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:863:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:866:27: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:888:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:890:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:892:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:896:27: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:915:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:918:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:929:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:935:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:957:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:965:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:995:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:998:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1024:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1027:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1065:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1068:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1080:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1083:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1094:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1097:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1110:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1113:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1124:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1127:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1140:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1143:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1154:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1157:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1170:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1173:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1184:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1188:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1204:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1208:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1222:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1227:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1247:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1252:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1270:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1273:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1286:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1289:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1301:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1303:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1309:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1322:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1330:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1347:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1355:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1372:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1375:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1411:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1414:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1448:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1452:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1477:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:63:25: style: Variable 'heapFree' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasindex.cpp:1481:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:82:25: style: Variable 'heapFree' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasindex.cpp:1504:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sascompoundheap.cpp:83:25: style: Variable 'heapUsed' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasindex.cpp:1510:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1539:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1548:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1572:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1578:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1606:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:1615:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindex.cpp:36:6: style: The scope of the variable 'divisor' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:37:15: style: The scope of the variable 'heapFree' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:56:6: style: The scope of the variable 'divisor' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:57:15: style: The scope of the variable 'heapFree' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:58:15: style: The scope of the variable 'heapUsed' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:315:21: style: The scope of the variable 'simpleBlock' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:351:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:683:21: style: The scope of the variable 'simpleBlock' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:783:24: style: The scope of the variable 'spill_lst' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:937:19: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:966:19: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:996:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:1002:19: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:1025:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:1032:19: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:1225:6: style: The scope of the variable 'found' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:1250:6: style: The scope of the variable 'found' can be reduced. [variableScope] sphde-1.4.0/src/sasindex.cpp:339:33: style:inconclusive: Function 'SASIndexAllocNoLock' argument 1 names different: declaration 'btree' definition 'heap'. [funcArgNamesDifferent] sphde-1.4.0/src/sasindexpriv.h:210:33: note: Function 'SASIndexAllocNoLock' argument 1 names different: declaration 'btree' definition 'heap'. sphde-1.4.0/src/sasindex.cpp:339:33: note: Function 'SASIndexAllocNoLock' argument 1 names different: declaration 'btree' definition 'heap'. sphde-1.4.0/src/sasindex.cpp:457:32: style:inconclusive: Function 'SASIndexFreeNoLock' argument 1 names different: declaration 'btree' definition 'heap'. [funcArgNamesDifferent] sphde-1.4.0/src/sasindexpriv.h:219:32: note: Function 'SASIndexFreeNoLock' argument 1 names different: declaration 'btree' definition 'heap'. sphde-1.4.0/src/sasindex.cpp:457:32: note: Function 'SASIndexFreeNoLock' argument 1 names different: declaration 'btree' definition 'heap'. sphde-1.4.0/src/sasindex.cpp:851:33: style:inconclusive: Function 'SASIndexNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. [funcArgNamesDifferent] sphde-1.4.0/src/sasindexpriv.h:216:34: note: Function 'SASIndexNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasindex.cpp:851:33: note: Function 'SASIndexNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasindex.cpp:878:27: style:inconclusive: Function 'SASIndexNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. [funcArgNamesDifferent] sphde-1.4.0/src/sasindexpriv.h:172:28: note: Function 'SASIndexNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasindex.cpp:878:27: note: Function 'SASIndexNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasindex.cpp:927:37: style:inconclusive: Function 'SASIndexFreeSpaceNoLock' argument 1 names different: declaration 'btree' definition 'heap'. [funcArgNamesDifferent] sphde-1.4.0/src/sasindexpriv.h:207:37: note: Function 'SASIndexFreeSpaceNoLock' argument 1 names different: declaration 'btree' definition 'heap'. sphde-1.4.0/src/sasindex.cpp:927:37: note: Function 'SASIndexFreeSpaceNoLock' argument 1 names different: declaration 'btree' definition 'heap'. sphde-1.4.0/src/sasindex.cpp:993:35: style:inconclusive: Function 'SASIndexDestroyNoLock' argument 1 names different: declaration 'btree' definition 'heap'. [funcArgNamesDifferent] sphde-1.4.0/src/sasindexpriv.h:204:35: note: Function 'SASIndexDestroyNoLock' argument 1 names different: declaration 'btree' definition 'heap'. sphde-1.4.0/src/sasindex.cpp:993:35: note: Function 'SASIndexDestroyNoLock' argument 1 names different: declaration 'btree' definition 'heap'. sphde-1.4.0/src/sasindex.cpp:37:24: style: Variable 'heapFree' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasindex.cpp:57:24: style: Variable 'heapFree' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasindex.cpp:58:24: style: Variable 'heapUsed' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasindexenum.cpp:44:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:76:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:83:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:107:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:128:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:166:8: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:200:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:222:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:243:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:281:8: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexenum.cpp:85:8: style: The scope of the variable 'found' can be reduced. [variableScope] sphde-1.4.0/src/sasindexenum.cpp:202:8: style: The scope of the variable 'found' can be reduced. [variableScope] sphde-1.4.0/src/sasindexenum.cpp:145:23: style: Local variable 'curnode' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasindexenum.cpp:101:19: note: Shadowed declaration sphde-1.4.0/src/sasindexenum.cpp:145:23: note: Shadow variable sphde-1.4.0/src/sasindexenum.cpp:260:23: style: Local variable 'curnode' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasindexenum.cpp:216:19: note: Shadowed declaration sphde-1.4.0/src/sasindexenum.cpp:260:23: note: Shadow variable sphde-1.4.0/src/sasindexkey.h:144:17: warning: Either the condition 'key!=NULL' is redundant or there is possible null pointer dereference: src. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:1225:11: note: Assuming that condition 'key!=NULL' is not redundant sphde-1.4.0/src/sasindexnode.cpp:1215:29: note: Calling function 'SASIndexKeyCopy', 2nd argument 'key' value is 0 sphde-1.4.0/src/sasindexkey.h:144:17: note: Null pointer dereference sphde-1.4.0/src/sasindexkey.h:159:10: warning: Either the condition 'key!=NULL' is redundant or there is possible null pointer dereference: key. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:1225:11: note: Assuming that condition 'key!=NULL' is not redundant sphde-1.4.0/src/sasindexnode.cpp:1212:37: note: Calling function 'SASIndexKeySize', 1st argument 'key' value is 0 sphde-1.4.0/src/sasindexkey.h:159:10: note: Null pointer dereference sphde-1.4.0/src/sasindexpriv.h:81:11: warning: Possible null pointer dereference: headerBlock [nullPointer] sphde-1.4.0/src/sasindexnode.cpp:351:40: note: Assignment 'compoundHeader=NULL', assigned value is 0 sphde-1.4.0/src/sasindexnode.cpp:372:5: note: Assuming condition is false sphde-1.4.0/src/sasindexnode.cpp:376:38: note: Calling function 'SASIndexGetSpill', 1st argument 'compoundHeader' value is 0 sphde-1.4.0/src/sasindexpriv.h:81:11: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:87:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:81:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:78:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:78:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:87:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:88:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:81:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:78:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:78:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:88:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:90:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:81:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:78:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:78:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:90:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:91:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:81:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:78:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:78:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:91:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:92:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:81:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:78:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:78:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:92:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:94:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:81:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:78:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:78:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:94:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:95:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:81:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:78:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:78:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:95:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:96:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:81:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:78:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:78:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:96:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:114:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:114:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:115:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:115:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:117:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:117:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:119:29: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:119:29: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:121:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:121:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:123:29: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:123:29: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:125:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:125:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:127:29: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:127:29: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:129:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:129:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:130:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:130:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:131:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:131:3: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:133:19: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:133:19: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:135:7: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:135:7: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:136:7: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:136:7: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:137:7: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasindexnode.cpp:108:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasindexnode.cpp:104:35: note: Assignment to 'heapBlock=(struct SASIndexNodeHeader*)heap_seg' sphde-1.4.0/src/sasindexnode.cpp:104:33: note: heapBlock is assigned '(struct SASIndexNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasindexnode.cpp:137:7: note: Null pointer dereference sphde-1.4.0/src/sasindexnode.cpp:78:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:83:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:84:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:104:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:110:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:111:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:117:22: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:118:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:121:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:122:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:125:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:126:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:148:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:160:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:195:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:218:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:220:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:261:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:284:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:285:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:312:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:323:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:358:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:374:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:396:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:432:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:454:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:476:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:497:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:519:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:544:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:568:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:572:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:582:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:585:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:604:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:607:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:618:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:626:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:629:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:648:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:651:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:675:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:679:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:796:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:801:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:852:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:857:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:946:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:951:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1031:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1036:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1129:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1134:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1209:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1214:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1239:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1244:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1259:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1274:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1278:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1287:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1297:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1317:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1325:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1334:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1359:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1361:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1389:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1403:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1420:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1432:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1504:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1524:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1543:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1551:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1572:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1580:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1588:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1612:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1644:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1652:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1653:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1690:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1698:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1699:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1716:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1736:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1755:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1763:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1764:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1769:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1789:29: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1828:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1836:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1842:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1859:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1882:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1897:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1903:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1906:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1934:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1966:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:1990:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:2003:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:2022:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:2034:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasindexnode.cpp:161:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:219:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:520:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:1261:10: style: The scope of the variable 'keylen' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:1290:18: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:1343:18: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:1576:18: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:1694:18: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:1759:18: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasindexnode.cpp:358:15: style: Variable 'newHeap' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasulock.h:99:17: style:inconclusive: Technically the member function 'SasUserLock::getWriterPID' can be const. [functionConst] sphde-1.4.0/src/sasulock.h:100:17: style:inconclusive: Technically the member function 'SasUserLock::getWriterTID' can be const. [functionConst] sphde-1.4.0/src/sasulock.h:93:3: style: Class 'SasUserLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] sphde-1.4.0/src/sasmlock.h:74:3: style: Class 'SasMasterLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] sphde-1.4.0/src/saslock.cpp:38:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/saslock.cpp:39:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/saslock.cpp:49:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/saslock.cpp:61:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/saslock.cpp:69:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/saslock.cpp:102:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/saslock.cpp:110:23: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasulock.h:98:17: style:inconclusive: Technically the member function 'SasUserLock::getAddrKey' can be const. [functionConst] sphde-1.4.0/src/saslockl.h:84:8: style:inconclusive: Technically the member function 'SasLockListNode::operatordelete' can be const. [functionConst] sphde-1.4.0/src/saslockl.cpp:74:29: note: Technically the member function 'SasLockListNode::operatordelete' can be const. sphde-1.4.0/src/saslockl.h:84:8: note: Technically the member function 'SasLockListNode::operatordelete' can be const. sphde-1.4.0/src/saslockl.h:101:8: style:inconclusive: Technically the member function 'SasLockList::operatordelete' can be const. [functionConst] sphde-1.4.0/src/saslockl.cpp:152:25: note: Technically the member function 'SasLockList::operatordelete' can be const. sphde-1.4.0/src/saslockl.h:101:8: note: Technically the member function 'SasLockList::operatordelete' can be const. sphde-1.4.0/src/saslockl.cpp:94:4: warning: Class 'SasLockList' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] sphde-1.4.0/src/saslockl.cpp:94:4: warning: Class 'SasLockList' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] sphde-1.4.0/src/saslockl.cpp:67:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/saslockl.cpp:93:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/saslockl.cpp:256:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasmlock.h:78:8: style:inconclusive: Technically the member function 'SasMasterLock::operatordelete' can be const. [functionConst] sphde-1.4.0/src/sasmlock.cpp:160:21: note: Technically the member function 'SasMasterLock::operatordelete' can be const. sphde-1.4.0/src/sasmlock.h:78:8: note: Technically the member function 'SasMasterLock::operatordelete' can be const. sphde-1.4.0/src/sasmlock.h:82:8: performance:inconclusive: Technically the member function 'SasMasterLock::printDetailedStats' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/sasmlock.cpp:264:16: note: Technically the member function 'SasMasterLock::printDetailedStats' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/sasmlock.h:82:8: note: Technically the member function 'SasMasterLock::printDetailedStats' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/sasmlock.h:91:8: performance:inconclusive: Technically the member function 'SasMasterLock::hash' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/sasmlock.cpp:310:16: note: Technically the member function 'SasMasterLock::hash' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/sasmlock.h:91:8: note: Technically the member function 'SasMasterLock::hash' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/saslockl.h:101:8: style:inconclusive: Technically the member function 'SasLockList < SasUserLock , void * >::operatordelete' can be const. [functionConst] sphde-1.4.0/src/saslockl.cpp:152:25: note: Technically the member function 'SasLockList < SasUserLock , void * >::operatordelete' can be const. sphde-1.4.0/src/saslockl.h:101:8: note: Technically the member function 'SasLockList < SasUserLock , void * >::operatordelete' can be const. sphde-1.4.0/src/saslockl.h:84:8: style:inconclusive: Technically the member function 'SasLockListNode < SasUserLock , void * >::operatordelete' can be const. [functionConst] sphde-1.4.0/src/saslockl.cpp:74:29: note: Technically the member function 'SasLockListNode < SasUserLock , void * >::operatordelete' can be const. sphde-1.4.0/src/saslockl.h:84:8: note: Technically the member function 'SasLockListNode < SasUserLock , void * >::operatordelete' can be const. sphde-1.4.0/src/saslockl.cpp:94:4: warning: Class 'SasLockList < SasUserLock , void * >' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] sphde-1.4.0/src/saslockl.cpp:94:4: warning: Class 'SasLockList < SasUserLock , void * >' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] sphde-1.4.0/src/sasmlock.cpp:292:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasmlock.cpp:293:12: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasmlock.cpp:327:8: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasmlock.cpp:142:14: style: Redundant initialization for 'allocSize'. The initialized value is overwritten before it is read. [redundantInitialization] sphde-1.4.0/src/sasmlock.cpp:133:19: note: allocSize is initialized sphde-1.4.0/src/sasmlock.cpp:142:14: note: allocSize is overwritten sphde-1.4.0/src/sasmlock.cpp:210:13: style: The scope of the variable 'countInSlot' can be reduced. [variableScope] sphde-1.4.0/src/sasmlock.cpp:210:25: style: Variable 'countInSlot' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasshm.c:52:21: style:inconclusive: Function 'SASDetachShm' argument 1 names different: declaration 'addr' definition 'shm_addr'. [funcArgNamesDifferent] sphde-1.4.0/src/sasshm.h:44:39: note: Function 'SASDetachShm' argument 1 names different: declaration 'addr' definition 'shm_addr'. sphde-1.4.0/src/sasshm.c:52:21: note: Function 'SASDetachShm' argument 1 names different: declaration 'addr' definition 'shm_addr'. sphde-1.4.0/src/sasshm.c:112:9: style: Local variable 'shm_key' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasshm.c:26:7: note: Shadowed declaration sphde-1.4.0/src/sasshm.c:112:9: note: Shadow variable sphde-1.4.0/src/sasshm.c:135:9: style: Local variable 'shm_key' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasshm.c:26:7: note: Shadowed declaration sphde-1.4.0/src/sasshm.c:135:9: note: Shadow variable sphde-1.4.0/src/sasshm.c:161:9: style: Local variable 'shm_key' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasshm.c:26:7: note: Shadowed declaration sphde-1.4.0/src/sasshm.c:161:9: note: Shadow variable sphde-1.4.0/src/sassimpleheap.cpp:28:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:33:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:46:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:60:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:90:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:113:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:115:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:150:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:174:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:179:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:203:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:244:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:247:20: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:286:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:305:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:325:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:346:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:369:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:392:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimpleheap.cpp:61:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassimpleheap.cpp:114:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassimpleheap.cpp:199:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassimpleheap.cpp:243:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassimpleheap.cpp:326:18: style: The scope of the variable 'heapFree' can be reduced. [variableScope] sphde-1.4.0/src/sassimpleheap.cpp:326:28: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassimpleheap.cpp:347:18: style: The scope of the variable 'heapFree' can be reduced. [variableScope] sphde-1.4.0/src/sassimpleheap.cpp:347:28: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassimpleheap.cpp:370:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:1181:4: warning: Return value of function mmap() is not used. [ignoredReturnValue] sphde-1.4.0/src/sassim.cpp:1193:7: warning: Return value of function mmap() is not used. [ignoredReturnValue] sphde-1.4.0/src/sassim.cpp:1051:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sassim.cpp:1181:4: error: Return value of allocation function 'mmap' is not stored. [leakReturnValNotUsed] sphde-1.4.0/src/sassim.cpp:1193:7: error: Return value of allocation function 'mmap' is not stored. [leakReturnValNotUsed] sphde-1.4.0/src/sassim.cpp:203:7: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:234:53: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:241:52: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:292:8: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:329:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:393:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:497:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:502:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:506:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:731:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:750:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:773:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:785:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:808:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:819:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:840:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:851:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:869:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:951:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:969:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:992:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1026:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1143:22: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1155:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1165:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1172:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1181:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1193:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1234:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1245:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1261:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1272:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1288:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1299:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1314:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1325:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1340:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1351:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1366:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1378:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1385:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1392:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1410:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1472:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1507:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:1519:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassim.cpp:675:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/sassim.cpp:665:6: note: rc is assigned sphde-1.4.0/src/sassim.cpp:675:6: note: rc is overwritten sphde-1.4.0/src/sassim.cpp:972:6: style: Redundant initialization for 'nn'. The initialized value is overwritten before it is read. [redundantInitialization] sphde-1.4.0/src/sassim.cpp:952:22: note: nn is initialized sphde-1.4.0/src/sassim.cpp:972:6: note: nn is overwritten sphde-1.4.0/src/sassim.cpp:956:6: style: Redundant initialization for 'uu'. The initialized value is overwritten before it is read. [redundantInitialization] sphde-1.4.0/src/sassim.cpp:953:22: note: uu is initialized sphde-1.4.0/src/sassim.cpp:956:6: note: uu is overwritten sphde-1.4.0/src/sassim.cpp:214:17: style: The scope of the variable 'k' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:214:20: style: The scope of the variable 'l' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:250:17: style: The scope of the variable 'k' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:250:20: style: The scope of the variable 'l' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:250:23: style: The scope of the variable 'm' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:253:16: style: The scope of the variable 'j' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:254:16: style: The scope of the variable 'ui' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:254:20: style: The scope of the variable 'uj' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:337:19: style: The scope of the variable 'nn' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:338:17: style: The scope of the variable 'k' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:342:16: style: The scope of the variable 'ui' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:342:20: style: The scope of the variable 'uj' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:980:8: style: The scope of the variable 'storeName' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:1009:8: style: The scope of the variable 'storeName' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:1136:7: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:1207:8: style: The scope of the variable 'storeName' can be reduced. [variableScope] sphde-1.4.0/src/sassim.cpp:161:3: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] sphde-1.4.0/src/sassim.cpp:60:18: style: struct member 'roottype::root' is never used. [unusedStructMember] sphde-1.4.0/src/sassimplespace.cpp:65:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:65:5: note: Null pointer dereference sphde-1.4.0/src/sassimplespace.cpp:66:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:66:5: note: Null pointer dereference sphde-1.4.0/src/sassimplespace.cpp:67:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:67:5: note: Null pointer dereference sphde-1.4.0/src/sassimplespace.cpp:68:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:68:5: note: Null pointer dereference sphde-1.4.0/src/sassimplespace.cpp:71:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:71:5: note: Null pointer dereference sphde-1.4.0/src/sassimplespace.cpp:72:19: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:72:19: note: Null pointer dereference sphde-1.4.0/src/sassimplespace.cpp:73:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:73:5: note: Null pointer dereference sphde-1.4.0/src/sassimplespace.cpp:74:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:74:5: note: Null pointer dereference sphde-1.4.0/src/sassimplespace.cpp:62:36: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:62:36: note: Null pointer addition sphde-1.4.0/src/sassimplespace.cpp:63:36: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:63:36: note: Null pointer addition sphde-1.4.0/src/sassimplespace.cpp:64:36: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sassimplespace.cpp:58:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplespace.cpp:52:39: note: Assignment to 'heapBlock=(struct SASSimpleSpaceHeader*)heap_seg' sphde-1.4.0/src/sassimplespace.cpp:52:37: note: heapBlock is assigned '(struct SASSimpleSpaceHeader*)heap_seg' here. sphde-1.4.0/src/sassimplespace.cpp:64:36: note: Null pointer addition sphde-1.4.0/src/sassimplespace.cpp:52:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:59:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:62:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:63:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:64:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:73:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:74:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:102:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:113:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:116:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:119:44: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:120:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:133:53: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:137:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:140:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:153:42: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:156:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:172:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:175:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:193:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:216:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplespace.cpp:194:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassimplestack.cpp:65:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:65:3: note: Null pointer dereference sphde-1.4.0/src/sassimplestack.cpp:66:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:66:3: note: Null pointer dereference sphde-1.4.0/src/sassimplestack.cpp:67:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:67:3: note: Null pointer dereference sphde-1.4.0/src/sassimplestack.cpp:68:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:68:3: note: Null pointer dereference sphde-1.4.0/src/sassimplestack.cpp:71:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:71:3: note: Null pointer dereference sphde-1.4.0/src/sassimplestack.cpp:72:18: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:72:18: note: Null pointer dereference sphde-1.4.0/src/sassimplestack.cpp:73:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:73:3: note: Null pointer dereference sphde-1.4.0/src/sassimplestack.cpp:74:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:74:3: note: Null pointer dereference sphde-1.4.0/src/sassimplestack.cpp:63:35: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:63:35: note: Null pointer addition sphde-1.4.0/src/sassimplestack.cpp:64:33: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sassimplestack.cpp:57:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sassimplestack.cpp:52:37: note: Assignment to 'heapBlock=(struct SASSimpleStackHeader*)heap_seg' sphde-1.4.0/src/sassimplestack.cpp:52:35: note: heapBlock is assigned '(struct SASSimpleStackHeader*)heap_seg' here. sphde-1.4.0/src/sassimplestack.cpp:64:33: note: Null pointer addition sphde-1.4.0/src/sassimplestack.cpp:52:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:59:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:63:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:64:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:73:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:74:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:91:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:103:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:108:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:140:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:169:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:172:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:214:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:217:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:253:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:257:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:289:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:293:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:340:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:343:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:361:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:364:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:384:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:409:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sassimplestack.cpp:104:15: style: The scope of the variable 'round' can be reduced. [variableScope] sphde-1.4.0/src/sassimplestack.cpp:105:15: style: The scope of the variable 'stacknext' can be reduced. [variableScope] sphde-1.4.0/src/sassimplestack.cpp:385:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sassimplestack.cpp:105:25: style: Variable 'stacknext' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasstringbtreepriv.h:61:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreepriv.h:66:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreepriv.h:87:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreepriv.h:89:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreepriv.h:91:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenodepriv.h:31:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenodepriv.h:36:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:44:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:79:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:126:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:133:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:140:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:147:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:171:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:193:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:240:8: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:276:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:299:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:321:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:368:8: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreeenum.cpp:75:9: style: The scope of the variable 'maxkey' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreeenum.cpp:149:8: style: The scope of the variable 'found' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreeenum.cpp:278:8: style: The scope of the variable 'found' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreeenum.cpp:216:29: style: Local variable 'curnode' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasstringbtreeenum.cpp:164:25: note: Shadowed declaration sphde-1.4.0/src/sasstringbtreeenum.cpp:216:29: note: Shadow variable sphde-1.4.0/src/sasstringbtreeenum.cpp:344:29: style: Local variable 'curnode' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasstringbtreeenum.cpp:292:25: note: Shadowed declaration sphde-1.4.0/src/sasstringbtreeenum.cpp:344:29: note: Shadow variable sphde-1.4.0/src/sasstringbtree.cpp:121:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:114:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:109:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:109:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:121:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:124:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:114:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:109:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:109:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:124:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:125:18: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:114:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:109:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:109:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:125:18: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:127:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:114:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:109:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:109:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:127:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:131:26: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:114:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:109:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:109:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:131:26: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:174:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:167:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:160:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:160:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:174:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:177:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:167:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:160:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:160:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:177:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:178:18: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:167:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:160:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:160:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:178:18: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:179:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:167:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:160:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:160:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:179:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:180:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtree.cpp:167:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtree.cpp:160:37: note: Assignment to 'heapBlock=(struct SASStringBTreeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtree.cpp:160:35: note: heapBlock is assigned '(struct SASStringBTreeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtree.cpp:180:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtree.cpp:96:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:109:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:116:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:117:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:130:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:160:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:169:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:170:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:179:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:180:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:185:3: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:207:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:228:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:259:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:271:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:279:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:287:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:312:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:344:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:347:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:356:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:359:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:384:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:408:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:413:43: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:443:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:484:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:486:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:489:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:542:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:544:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:548:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:618:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:620:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:622:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:632:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:635:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:645:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:674:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:676:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:680:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:690:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:693:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:709:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:758:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:761:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:770:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:775:43: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:806:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:858:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:860:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:864:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:874:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:877:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:897:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:903:5: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:939:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:941:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:943:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:946:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:970:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:972:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:974:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:978:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1003:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1006:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1017:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1022:42: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1047:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1054:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1088:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1091:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1120:40: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1123:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1163:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1167:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1179:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1183:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1193:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1196:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1209:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1212:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1223:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1226:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1239:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1242:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1253:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1256:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1269:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1272:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1283:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1287:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1303:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1307:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1321:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1326:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1346:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1351:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1369:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1372:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1385:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1388:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1399:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1402:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1416:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1418:27: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1425:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1440:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1448:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1466:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1474:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1492:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1495:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1533:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1536:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1571:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1575:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1601:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1605:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1629:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1635:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1664:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1671:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1697:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1703:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1731:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:1738:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtree.cpp:35:7: style: The scope of the variable 'divisor' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:36:16: style: The scope of the variable 'heapFree' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:56:7: style: The scope of the variable 'divisor' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:57:16: style: The scope of the variable 'heapFree' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:58:16: style: The scope of the variable 'heapUsed' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:329:19: style: The scope of the variable 'simpleBlock' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:366:17: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:743:19: style: The scope of the variable 'simpleBlock' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:850:28: style: The scope of the variable 'spill_lst' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1024:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1055:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1089:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1095:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1121:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1128:20: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1324:7: style: The scope of the variable 'found' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1349:7: style: The scope of the variable 'found' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1442:9: style: The scope of the variable 'tempkey' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:1468:9: style: The scope of the variable 'tempkey' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtree.cpp:931:40: style:inconclusive: Function 'SASStringBTreeNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. [funcArgNamesDifferent] sphde-1.4.0/src/sasstringbtree.h:703:40: note: Function 'SASStringBTreeNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasstringbtree.cpp:931:40: note: Function 'SASStringBTreeNearDeallocNoLock' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasstringbtree.cpp:961:34: style:inconclusive: Function 'SASStringBTreeNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. [funcArgNamesDifferent] sphde-1.4.0/src/sasstringbtree.h:258:34: note: Function 'SASStringBTreeNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasstringbtree.cpp:961:34: note: Function 'SASStringBTreeNearDealloc' argument 1 names different: declaration 'memAddr' definition 'nearObj'. sphde-1.4.0/src/sasstringbtree.cpp:36:25: style: Variable 'heapFree' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasstringbtree.cpp:57:25: style: Variable 'heapFree' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasstringbtree.cpp:58:25: style: Variable 'heapUsed' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasstringbtreepriv.h:74:10: warning: Possible null pointer dereference: headerBlock [nullPointer] sphde-1.4.0/src/sasstringbtreenode.cpp:365:46: note: Assignment 'compoundHeader=NULL', assigned value is 0 sphde-1.4.0/src/sasstringbtreenode.cpp:386:5: note: Assuming condition is false sphde-1.4.0/src/sasstringbtreenode.cpp:391:44: note: Calling function 'SASStringBTreeGetSpill', 1st argument 'compoundHeader' value is 0 sphde-1.4.0/src/sasstringbtreepriv.h:74:10: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:95:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:89:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:86:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:86:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:95:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:96:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:89:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:86:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:86:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:96:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:98:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:89:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:86:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:86:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:98:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:99:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:89:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:86:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:86:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:99:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:100:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:89:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:86:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:86:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:100:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:102:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:89:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:86:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:86:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:102:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:103:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:89:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:86:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:86:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:103:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:104:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:89:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:86:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:86:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:104:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:123:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:123:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:124:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:124:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:126:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:126:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:129:10: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:129:10: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:131:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:131:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:134:10: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:134:10: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:136:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:136:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:139:10: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:139:10: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:141:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:141:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:142:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:142:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:143:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:143:3: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:145:19: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:145:19: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:147:7: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:147:7: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:148:7: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:148:7: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:149:7: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:117:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:113:41: note: Assignment to 'heapBlock=(struct SASStringBTreeNodeHeader*)heap_seg' sphde-1.4.0/src/sasstringbtreenode.cpp:113:39: note: heapBlock is assigned '(struct SASStringBTreeNodeHeader*)heap_seg' here. sphde-1.4.0/src/sasstringbtreenode.cpp:149:7: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:1225:25: warning: Either the condition 'key!=NULL' is redundant or there is possible null pointer dereference: key. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:1237:11: note: Assuming that condition 'key!=NULL' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:1225:25: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:1228:38: warning: Either the condition 'key!=NULL' is redundant or there is possible null pointer dereference: key. [nullPointerRedundantCheck] sphde-1.4.0/src/sasstringbtreenode.cpp:1237:11: note: Assuming that condition 'key!=NULL' is not redundant sphde-1.4.0/src/sasstringbtreenode.cpp:1228:38: note: Null pointer dereference sphde-1.4.0/src/sasstringbtreenode.cpp:86:42: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:91:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:92:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:113:42: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:119:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:120:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:126:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:127:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:131:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:132:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:136:21: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:137:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:160:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:174:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:209:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:232:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:243:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:274:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:298:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:299:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:326:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:337:43: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:372:43: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:389:8: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:413:4: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:450:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:472:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:494:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:516:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:539:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:560:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:581:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:584:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:603:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:606:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:617:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:625:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:628:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:648:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:651:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:671:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:674:46: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:689:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:693:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:810:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:815:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:866:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:871:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:962:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:967:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1042:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1047:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1142:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1147:47: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1222:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1227:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1251:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1256:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1270:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1284:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1288:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1296:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1305:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1325:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1334:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1344:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1369:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1371:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1395:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1409:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1426:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1439:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1512:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1529:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1545:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1549:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1566:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1574:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1581:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1605:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1637:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1645:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1646:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1684:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1692:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1693:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1710:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1730:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1750:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1758:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1759:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1764:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1784:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1824:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1832:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1838:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1856:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1879:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1895:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1901:9: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1904:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1932:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1964:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:1988:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:2001:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:2021:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:2033:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasstringbtreenode.cpp:175:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreenode.cpp:233:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreenode.cpp:540:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreenode.cpp:1299:9: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreenode.cpp:1353:9: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreenode.cpp:1570:9: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreenode.cpp:1688:9: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreenode.cpp:1754:9: style: The scope of the variable 'temp_key' can be reduced. [variableScope] sphde-1.4.0/src/sasstringbtreenode.cpp:372:15: style: Variable 'newHeap' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sasulock.h:97:7: style:inconclusive: Technically the member function 'SasUserLock::operator==' can be const. [functionConst] sphde-1.4.0/src/sasulock.cpp:113:14: note: Technically the member function 'SasUserLock::operator==' can be const. sphde-1.4.0/src/sasulock.h:97:7: note: Technically the member function 'SasUserLock::operator==' can be const. sphde-1.4.0/src/sasulock.h:109:13: style:inconclusive: Technically the member function 'SasUserLock::waiters' can be const. [functionConst] sphde-1.4.0/src/sasulock.cpp:638:14: note: Technically the member function 'SasUserLock::waiters' can be const. sphde-1.4.0/src/sasulock.h:109:13: note: Technically the member function 'SasUserLock::waiters' can be const. sphde-1.4.0/src/sasulock.h:114:8: performance:inconclusive: Technically the member function 'SasUserLock::thread_wakeup' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/sasulock.cpp:146:14: note: Technically the member function 'SasUserLock::thread_wakeup' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/sasulock.h:114:8: note: Technically the member function 'SasUserLock::thread_wakeup' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/sasulock.cpp:71:10: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasulock.cpp:150:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sasulock.cpp:51:39: style:inconclusive: Function 'SasUserLock' argument 1 names different: declaration 'addr' definition 'addrToLock'. [funcArgNamesDifferent] sphde-1.4.0/src/sasulock.h:93:28: note: Function 'SasUserLock' argument 1 names different: declaration 'addr' definition 'addrToLock'. sphde-1.4.0/src/sasulock.cpp:51:39: note: Function 'SasUserLock' argument 1 names different: declaration 'addr' definition 'addrToLock'. sphde-1.4.0/src/sasulock.cpp:150:9: style: Local variable 'waiters' shadows outer function [shadowFunction] sphde-1.4.0/src/sasulock.h:109:13: note: Shadowed declaration sphde-1.4.0/src/sasulock.cpp:150:9: note: Shadow variable sphde-1.4.0/src/sasulock.cpp:113:38: style: Parameter 'addrToLock' can be declared as pointer to const [constParameter] sphde-1.4.0/src/sasutil.c:440:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] sphde-1.4.0/src/sasutil.c:447:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] sphde-1.4.0/src/sasutil.c:318:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:319:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:320:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:321:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:322:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:323:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:347:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:356:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:365:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:374:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:383:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:504:2: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:514:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/sasutil.c:501:16: style: Local variable 'count' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasutil.c:473:7: note: Shadowed declaration sphde-1.4.0/src/sasutil.c:501:16: note: Shadow variable sphde-1.4.0/src/sasutil.c:502:16: style: Local variable 'i' shadows outer variable [shadowVariable] sphde-1.4.0/src/sasutil.c:475:7: note: Shadowed declaration sphde-1.4.0/src/sasutil.c:502:16: note: Shadow variable sphde-1.4.0/src/sasutil.c:478:10: style: union member 'Anonymous0::sasChar' is never used. [unusedStructMember] sphde-1.4.0/src/sasutil.c:561:14: style: Variable 'path[0]' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphcontext.cpp:70:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:75:15: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:89:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:97:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:122:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:154:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:156:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:189:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:198:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:201:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:244:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:265:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:271:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:291:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:297:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:319:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:325:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:342:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:363:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:384:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:392:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:401:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:440:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:468:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:475:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:480:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:486:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:529:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:550:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:571:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:594:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:625:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:644:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:664:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:671:31: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:693:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:717:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:725:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:764:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:772:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:805:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:813:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:839:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:848:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:873:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphcontext.cpp:87:18: style: The scope of the variable 'result' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:123:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:155:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:387:12: style: The scope of the variable 'rc' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:441:13: style: The scope of the variable 'oldval' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:470:12: style: The scope of the variable 'rc' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:665:18: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:718:6: style: The scope of the variable 'rc' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:765:6: style: The scope of the variable 'rc' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:806:6: style: The scope of the variable 'rc' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:837:15: style: The scope of the variable 'projcntx' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:840:6: style: The scope of the variable 'rc' can be reduced. [variableScope] sphde-1.4.0/src/sphcontext.cpp:36:16: style: struct member 'SPHContextExpandList::count' is never used. [unusedStructMember] sphde-1.4.0/src/sphcontext.cpp:37:16: style: struct member 'SPHContextExpandList::max_count' is never used. [unusedStructMember] sphde-1.4.0/src/sphcontext.cpp:38:21: style: struct member 'SPHContextExpandList::heap' is never used. [unusedStructMember] sphde-1.4.0/src/sphcontext.cpp:400:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlockfreeheap.cpp:45:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:46:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:147:7: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:153:22: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:156:22: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:172:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:173:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:249:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:250:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:333:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:361:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:362:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:550:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:572:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:599:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:604:13: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:630:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:775:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:776:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:816:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:817:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:850:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:851:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:883:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:908:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlockfreeheap.cpp:363:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sphlockfreeheap.cpp:379:17: style: The scope of the variable 'maxAlloc' can be reduced. [variableScope] sphde-1.4.0/src/sphlockfreeheap.cpp:884:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sphlockfreeheap.cpp:707:47: style:inconclusive: Function 'SPHLockFreeHeapNearAlloc' argument 2 names different: declaration 'alloc_size' definition 'allocSize'. [funcArgNamesDifferent] sphde-1.4.0/src/sphlockfreeheap.h:199:46: note: Function 'SPHLockFreeHeapNearAlloc' argument 2 names different: declaration 'alloc_size' definition 'allocSize'. sphde-1.4.0/src/sphlockfreeheap.cpp:707:47: note: Function 'SPHLockFreeHeapNearAlloc' argument 2 names different: declaration 'alloc_size' definition 'allocSize'. sphde-1.4.0/src/sphlockfreeheap.cpp:187:19: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlockfreeheap.cpp:268:19: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlflogger.cpp:89:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:89:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:90:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:90:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:91:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:91:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:92:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:92:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:93:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:93:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:94:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:94:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:97:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:97:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:98:18: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:98:18: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:99:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:99:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:100:3: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:100:3: note: Null pointer dereference sphde-1.4.0/src/sphlflogger.cpp:87:35: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:87:35: note: Null pointer addition sphde-1.4.0/src/sphlflogger.cpp:88:33: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sphlflogger.cpp:77:7: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlflogger.cpp:71:34: note: Assignment to 'heapBlock=(struct SASLFLoggerHeader*)buf_seg' sphde-1.4.0/src/sphlflogger.cpp:71:32: note: heapBlock is assigned '(struct SASLFLoggerHeader*)buf_seg' here. sphde-1.4.0/src/sphlflogger.cpp:88:33: note: Null pointer addition sphde-1.4.0/src/sphlflogger.cpp:71:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:79:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:87:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:88:14: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:99:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:100:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:134:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:148:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:161:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:166:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:200:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:206:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:220:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:223:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:225:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:241:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:328:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:333:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:346:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:349:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:351:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:371:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:458:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:464:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:474:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:477:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:479:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:495:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:535:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:540:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:549:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:552:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:554:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:574:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:647:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:656:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:664:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:680:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:685:26: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:743:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:745:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:781:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:784:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:810:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:813:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:838:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:841:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:866:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:869:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:895:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:896:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:938:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:939:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:963:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:967:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:972:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:997:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:1003:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:1033:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:1058:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlflogger.cpp:162:13: style: The scope of the variable 'round' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:163:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:202:13: style: The scope of the variable 'round' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:203:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:204:13: style: The scope of the variable 'log_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:255:13: style: The scope of the variable 'done' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:330:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:331:13: style: The scope of the variable 'log_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:386:13: style: The scope of the variable 'done' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:460:13: style: The scope of the variable 'round' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:461:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:462:13: style: The scope of the variable 'log_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:537:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:538:13: style: The scope of the variable 'log_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:661:17: style: The scope of the variable 'eLen' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:661:23: style: The scope of the variable 'prev' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:897:13: style: The scope of the variable 'next' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:964:16: style: The scope of the variable 'logsize' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:964:25: style: The scope of the variable 'pagesz' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:964:33: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:998:16: style: The scope of the variable 'prefetch_opt' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:1034:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sphlflogger.cpp:610:49: style:inconclusive: Function 'SPHLFLoggerEntryComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. [funcArgNamesDifferent] sphde-1.4.0/src/sphlflogger.h:510:48: note: Function 'SPHLFLoggerEntryComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphlflogger.cpp:610:49: note: Function 'SPHLFLoggerEntryComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphlflogger.cpp:625:51: style:inconclusive: Function 'SPHLFLoggerEntryIsComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. [funcArgNamesDifferent] sphde-1.4.0/src/sphlflogger.h:519:50: note: Function 'SPHLFLoggerEntryIsComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphlflogger.cpp:625:51: note: Function 'SPHLFLoggerEntryIsComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphlflogger.cpp:633:54: style:inconclusive: Function 'SPHLFLoggerEntryIsTimestamped' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. [funcArgNamesDifferent] sphde-1.4.0/src/sphlflogger.h:527:53: note: Function 'SPHLFLoggerEntryIsTimestamped' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphlflogger.cpp:633:54: note: Function 'SPHLFLoggerEntryIsTimestamped' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphlflogger.cpp:644:27: style:inconclusive: Function 'SPHLFLoggerIteratorNext' argument 2 names different: declaration 'handlespace' definition 'handleorg'. [funcArgNamesDifferent] sphde-1.4.0/src/sphlflogger.h:543:47: note: Function 'SPHLFLoggerIteratorNext' argument 2 names different: declaration 'handlespace' definition 'handleorg'. sphde-1.4.0/src/sphlflogger.cpp:644:27: note: Function 'SPHLFLoggerIteratorNext' argument 2 names different: declaration 'handlespace' definition 'handleorg'. sphde-1.4.0/src/sphlflogger.cpp:163:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlflogger.cpp:330:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlflogger.cpp:537:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlflogger.cpp:973:18: style: Variable 'touch' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlflogger.cpp:978:10: style: Variable 'touch' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlflogger.cpp:1018:12: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphlogportal.cpp:92:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:92:5: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:93:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:93:5: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:94:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:94:5: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:95:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:95:5: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:96:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:96:5: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:99:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:99:5: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:100:19: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:100:19: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:101:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:101:5: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:102:5: warning: Either the condition 'heapBlock' is redundant or there is possible null pointer dereference: heapBlock. [nullPointerRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:102:5: note: Null pointer dereference sphde-1.4.0/src/sphlogportal.cpp:88:35: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:88:35: note: Null pointer addition sphde-1.4.0/src/sphlogportal.cpp:89:35: warning: Either the condition 'heapBlock' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sphde-1.4.0/src/sphlogportal.cpp:77:10: note: Assuming that condition 'heapBlock' is not redundant sphde-1.4.0/src/sphlogportal.cpp:70:34: note: Assignment to 'heapBlock=(struct SASLogPortalHeader*)buf_seg' sphde-1.4.0/src/sphlogportal.cpp:70:32: note: heapBlock is assigned '(struct SASLogPortalHeader*)buf_seg' here. sphde-1.4.0/src/sphlogportal.cpp:89:35: note: Null pointer addition sphde-1.4.0/src/sphlogportal.cpp:70:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:79:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:88:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:89:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:94:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:101:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:102:41: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:126:18: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:137:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:157:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:176:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:177:30: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:182:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:197:28: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:200:22: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:227:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:231:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:256:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:259:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:284:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:287:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:311:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:314:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:338:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:341:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:365:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:368:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:391:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:394:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:431:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:434:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:482:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:487:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:547:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:552:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:611:37: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:616:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphlogportal.cpp:138:15: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:178:18: style: The scope of the variable 'logPrevBlock' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:179:12: style: The scope of the variable 'index' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:228:12: style: The scope of the variable 'index' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:392:19: style: The scope of the variable 'log' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:432:19: style: The scope of the variable 'log' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:432:24: style: The scope of the variable 'log0' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:483:16: style: The scope of the variable 'log' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:484:12: style: The scope of the variable 'log_index' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:548:16: style: The scope of the variable 'log' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:549:12: style: The scope of the variable 'log_index' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:612:16: style: The scope of the variable 'log' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:613:12: style: The scope of the variable 'log_index' can be reduced. [variableScope] sphde-1.4.0/src/sphlogportal.cpp:263:15: style: Unsigned expression 'index' can't be negative so it is unnecessary to test it. [unsignedPositive] sphde-1.4.0/src/sphlogportal.cpp:207:12: style: Variable 'index' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphthread.c:51:1: error: Resource leak: fd [resourceLeak] sphde-1.4.0/src/sphthread.c:88:13: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphdirectpcqueue.h:164:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphdirectpcqueue.h:194:27: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphdirectpcqueue.h:196:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphdirectpcqueue.h:222:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphdirectpcqueue.h:245:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphdirectpcqueue.h:258:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphdirectpcqueue.h:272:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphdirectpcqueue.h:288:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphdirectpcqueue.h:310:38: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:87:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:95:25: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:116:12: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:140:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:141:39: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:177:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:192:16: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:205:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:208:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:227:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:230:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:251:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:254:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:268:17: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:287:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:291:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:321:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:325:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:387:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:391:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:423:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:428:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:435:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:476:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:482:45: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:487:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:500:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:542:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:548:45: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:553:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:566:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:622:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:628:35: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:636:45: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:639:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:646:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:678:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:684:45: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:687:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:694:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:740:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:746:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:749:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:756:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:777:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:783:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:786:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:794:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:815:11: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:822:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:826:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:833:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:867:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:872:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:902:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:908:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:915:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:943:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:974:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:980:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:987:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1020:6: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1079:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1084:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1092:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1104:3: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1111:3: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1135:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1139:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1146:19: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1180:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1186:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1218:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1222:36: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1227:33: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1253:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:1277:34: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/sphsinglepcqueue.cpp:288:13: style: The scope of the variable 'head' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:322:13: style: The scope of the variable 'head' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:322:19: style: The scope of the variable 'temp' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:388:13: style: The scope of the variable 'head' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:424:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:425:13: style: The scope of the variable 'head' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:483:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:484:13: style: The scope of the variable 'head' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:549:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:550:13: style: The scope of the variable 'head' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:823:13: style: The scope of the variable 'queue_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:823:26: style: The scope of the variable 'tail' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:868:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:904:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:905:13: style: The scope of the variable 'head' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:906:13: style: The scope of the variable 'queue_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:976:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:977:13: style: The scope of the variable 'head' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:978:13: style: The scope of the variable 'queue_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1081:13: style: The scope of the variable 'alloc_round' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1082:13: style: The scope of the variable 'queue_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1136:13: style: The scope of the variable 'queue_entry' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1136:26: style: The scope of the variable 'tail' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1181:16: style: The scope of the variable 'prefetch_opt' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1219:16: style: The scope of the variable 'logsize' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1219:25: style: The scope of the variable 'pagesz' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1219:33: style: The scope of the variable 'i' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1254:16: style: The scope of the variable 'heapSize' can be reduced. [variableScope] sphde-1.4.0/src/sphsinglepcqueue.cpp:1047:53: style:inconclusive: Function 'SPHSinglePCQueueEntryComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. [funcArgNamesDifferent] sphde-1.4.0/src/sphsinglepcqueue.h:378:52: note: Function 'SPHSinglePCQueueEntryComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphsinglepcqueue.cpp:1047:53: note: Function 'SPHSinglePCQueueEntryComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphsinglepcqueue.cpp:1068:55: style:inconclusive: Function 'SPHSinglePCQueueEntryIsComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. [funcArgNamesDifferent] sphde-1.4.0/src/sphsinglepcqueue.h:387:54: note: Function 'SPHSinglePCQueueEntryIsComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphsinglepcqueue.cpp:1068:55: note: Function 'SPHSinglePCQueueEntryIsComplete' argument 1 names different: declaration 'entryhandle' definition 'handlespace'. sphde-1.4.0/src/sphsinglepcqueue.cpp:424:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:483:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:549:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:868:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:904:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:949:16: style: Variable 'queue_entry' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:976:25: style: Variable 'alloc_round' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:1026:16: style: Variable 'queue_entry' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:1202:12: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:1228:18: style: Variable 'touch' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/sphsinglepcqueue.cpp:1233:10: style: Variable 'touch' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/bitvec_t.c:613:11: style: Condition 'rsz!=-1' is always true [knownConditionTrueFalse] sphde-1.4.0/src/tests/bitvec_t.c:627:11: style: Condition 'rsz!=-1' is always true [knownConditionTrueFalse] sphde-1.4.0/src/tests/bitvec_t.c:715:11: style: Condition 'rsz!=-1' is always true [knownConditionTrueFalse] sphde-1.4.0/src/tests/bitvec_t.c:732:11: style: Condition 'rsz!=-1' is always true [knownConditionTrueFalse] sphde-1.4.0/src/tests/bitvec_t.c:996:12: style: Variable 'free_prev' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/bitvec_t.c:992:14: note: free_prev is assigned sphde-1.4.0/src/tests/bitvec_t.c:996:12: note: free_prev is overwritten sphde-1.4.0/src/tests/bitvec_t.c:1124:13: style: Variable 'free_prev' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sasindex_t.c:2730:7: style: Condition '!rc1' is always false [knownConditionTrueFalse] sphde-1.4.0/src/tests/sasindex_t.c:2942:7: warning: Either the condition '!temp' is redundant or there is possible null pointer dereference: temp. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sasindex_t.c:2939:11: note: Assuming that condition '!temp' is not redundant sphde-1.4.0/src/tests/sasindex_t.c:2942:7: note: Null pointer dereference sphde-1.4.0/src/tests/sasindex_t.c:2291:10: style: Variable 'keyval' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sasindex_t.c:2289:10: note: keyval is assigned sphde-1.4.0/src/tests/sasindex_t.c:2291:10: note: keyval is overwritten sphde-1.4.0/src/tests/sasindex_t.c:2304:10: style: Variable 'keyval' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sasindex_t.c:2302:10: note: keyval is assigned sphde-1.4.0/src/tests/sasindex_t.c:2304:10: note: keyval is overwritten sphde-1.4.0/src/tests/sasindex_t.c:2317:10: style: Variable 'keyval' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sasindex_t.c:2315:10: note: keyval is assigned sphde-1.4.0/src/tests/sasindex_t.c:2317:10: note: keyval is overwritten sphde-1.4.0/src/tests/sasindex_t.c:2330:10: style: Variable 'keyval' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sasindex_t.c:2328:10: note: keyval is assigned sphde-1.4.0/src/tests/sasindex_t.c:2330:10: note: keyval is overwritten sphde-1.4.0/src/tests/sasindex_t.c:2343:10: style: Variable 'keyval' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sasindex_t.c:2341:10: note: keyval is assigned sphde-1.4.0/src/tests/sasindex_t.c:2343:10: note: keyval is overwritten sphde-1.4.0/src/tests/sasindex_tt.c:357:11: style: Variable 'keyval' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sasindex_tt.c:774:11: style: Variable 'keyval' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sasindex_tt.c:1184:11: style: Variable 'keyval' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sasindex_tt.c:1594:11: style: Variable 'keyval' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sasseg_t.c:87:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sphde-1.4.0/src/tests/sassim_t.c:325:3: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sassim_t.c:153:49: error: Undefined behavior: Variable 'baseAddr1' is used as parameter and destination in sprintf(). [sprintfOverlappingData] sphde-1.4.0/src/tests/sassim_t.c:158:56: error: Undefined behavior: Variable 'pageX_ptr' is used as parameter and destination in sprintf(). [sprintfOverlappingData] sphde-1.4.0/src/tests/sasstringbtree_t.c:230:9: warning: Either the condition '!keyval' is redundant or there is possible null pointer dereference: keyval. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sasstringbtree_t.c:229:11: note: Assuming that condition '!keyval' is not redundant sphde-1.4.0/src/tests/sasstringbtree_t.c:230:9: note: Null pointer dereference sphde-1.4.0/src/tests/sasstringbtree_t.c:312:9: warning: Either the condition '!keyval' is redundant or there is possible null pointer dereference: keyval. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sasstringbtree_t.c:311:11: note: Assuming that condition '!keyval' is not redundant sphde-1.4.0/src/tests/sasstringbtree_t.c:312:9: note: Null pointer dereference sphde-1.4.0/src/tests/sasstringbtree_tt.c:135:7: error: Memory leak: keybuf [memleak] sphde-1.4.0/src/tests/sasstringbtree_tt.c:582:7: error: Memory leak: keybuf [memleak] sphde-1.4.0/src/tests/sasstringbtree_tt.c:1028:7: error: Memory leak: keybuf [memleak] sphde-1.4.0/src/tests/sasstringbtree_tt.c:1467:7: error: Memory leak: keybuf [memleak] sphde-1.4.0/src/tests/sasstringbtree_tt.c:371:14: style: Variable 'keyval' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sasstringbtree_tt.c:819:14: style: Variable 'keyval' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sasstringbtree_tt.c:1258:14: style: Variable 'keyval' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sasstringbtree_tt.c:1698:14: style: Variable 'keyval' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:244:8: style: Variable 'rc4' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:240:8: note: rc4 is assigned sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:244:8: note: rc4 is overwritten sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:352:8: style: Variable 'rc4' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:348:8: note: rc4 is assigned sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:352:8: note: rc4 is overwritten sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:812:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:810:7: note: rc is assigned sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:812:6: note: rc is overwritten sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:820:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:818:7: note: rc is assigned sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:820:6: note: rc is overwritten sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:47:25: style: struct member 'sphPCQSem_t::threshold' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:48:25: style: struct member 'sphPCQSem_t::spincnt' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:50:25: style: struct member 'sphPCQSem_t::waiting' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:51:25: style: struct member 'sphPCQSem_t::waitcnt' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:52:25: style: struct member 'sphPCQSem_t::postcnt' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:53:25: style: struct member 'sphPCQSem_t::remaining' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:54:25: style: struct member 'sphPCQSem_t::semvalue' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:55:16: style: struct member 'sphPCQSem_t::datavalue' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphdirectpcqueue_ttt.c:834:7: style: Unused variable: rc [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:699:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:280:18: style: Unused variable: tempn_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:280:27: style: Unused variable: temp0_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:280:36: style: Unused variable: temp1_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:280:45: style: Unused variable: temp2_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:282:7: style: Unused variable: tarray [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:285:23: style: Unused variable: handlex [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:285:32: style: Unused variable: handle4 [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:285:41: style: Unused variable: handle5 [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:286:13: style: Unused variable: entry_timestamp [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:286:30: style: Unused variable: prev_timestamp [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:287:22: style: Unused variable: iter [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:287:28: style: Unused variable: iter0 [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_tt.c:946:9: style: Unused variable: rc [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:60:16: style: Local variable 'logger' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:47:22: note: Shadowed declaration sphde-1.4.0/src/tests/sphlflogger_ttt.c:60:16: note: Shadow variable sphde-1.4.0/src/tests/sphlflogger_ttt.c:441:6: style: Unused variable: tempn_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:441:15: style: Unused variable: temp0_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:441:24: style: Unused variable: temp1_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:442:15: style: Unused variable: temp2_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:443:23: style: Unused variable: handlex [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:443:32: style: Unused variable: handle5 [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:444:13: style: Unused variable: entry_pid [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:444:24: style: Unused variable: entry_tid [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:445:22: style: Unused variable: iter [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:445:28: style: Unused variable: iter0 [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:446:13: style: Unused variable: entry_timestamp [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:448:7: style: Unused variable: i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:450:7: style: Unused variable: t_PID [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:451:7: style: Unused variable: t_TID [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:452:7: style: Unused variable: t_seq [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:642:6: style: Unused variable: tempn_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:642:15: style: Unused variable: temp0_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:642:24: style: Unused variable: temp1_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:643:15: style: Unused variable: temp2_i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:644:23: style: Unused variable: handlex [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:644:32: style: Unused variable: handle5 [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:645:13: style: Unused variable: entry_pid [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:645:24: style: Unused variable: entry_tid [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:646:22: style: Unused variable: iter [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:646:28: style: Unused variable: iter0 [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:647:7: style: Unused variable: tarray [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:648:13: style: Unused variable: entry_timestamp [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:650:7: style: Unused variable: i [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:652:7: style: Unused variable: t_PID [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:653:7: style: Unused variable: t_TID [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:654:7: style: Unused variable: t_seq [unusedVariable] sphde-1.4.0/src/tests/sphlflogger_ttt.c:959:9: style: Unused variable: rc [unusedVariable] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:914:8: style: Condition '0!=strcmp(temp0,"temp0")' is always false [knownConditionTrueFalse] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:878:8: note: Assuming that condition '0!=strcmp(temp0,"temp0")' is not redundant sphde-1.4.0/src/tests/sphlockfreeheap_t.c:914:8: note: Condition '0!=strcmp(temp0,"temp0")' is always false sphde-1.4.0/src/tests/sphlockfreeheap_t.c:940:8: style: Condition '0!=strcmp(temp0,"temp0")' is always false [knownConditionTrueFalse] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:878:8: note: Assuming that condition '0!=strcmp(temp0,"temp0")' is not redundant sphde-1.4.0/src/tests/sphlockfreeheap_t.c:940:8: note: Condition '0!=strcmp(temp0,"temp0")' is always false sphde-1.4.0/src/tests/sphlockfreeheap_t.c:1011:8: style: Condition '0!=strcmp(temp0,"temp0")' is always false [knownConditionTrueFalse] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:985:8: note: Assuming that condition '0!=strcmp(temp0,"temp0")' is not redundant sphde-1.4.0/src/tests/sphlockfreeheap_t.c:1011:8: note: Condition '0!=strcmp(temp0,"temp0")' is always false sphde-1.4.0/src/tests/sphlockfreeheap_t.c:210:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:185:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:210:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:229:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:210:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:229:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:341:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:316:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:341:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:360:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:341:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:360:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:439:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:420:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:439:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:491:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:472:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:491:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:554:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:529:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:554:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:579:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:554:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:579:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:604:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:579:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:604:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlockfreeheap_t.c:631:8: style: Variable 'aSize' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlockfreeheap_t.c:604:8: note: aSize is assigned sphde-1.4.0/src/tests/sphlockfreeheap_t.c:631:8: note: aSize is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:1881:13: style: Variable 'temp0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:1820:13: note: temp0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:1881:13: note: temp0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:1871:12: style: Variable 'len0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:1821:12: note: len0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:1871:12: note: len0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:1941:13: style: Variable 'temp0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:1881:13: note: temp0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:1941:13: note: temp0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:1931:12: style: Variable 'len0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:1882:12: note: len0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:1931:12: note: len0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:2007:13: style: Variable 'temp0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:1941:13: note: temp0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:2007:13: note: temp0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:1997:12: style: Variable 'len0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:1942:12: note: len0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:1997:12: note: len0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:2071:13: style: Variable 'temp0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:2007:13: note: temp0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:2071:13: note: temp0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:2061:12: style: Variable 'len0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:2008:12: note: len0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:2061:12: note: len0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:2135:13: style: Variable 'temp0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:2071:13: note: temp0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:2135:13: note: temp0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:2125:12: style: Variable 'len0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:2072:12: note: len0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:2125:12: note: len0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:2189:12: style: Variable 'len0' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphlflogger_t.c:2136:12: note: len0 is assigned sphde-1.4.0/src/tests/sphlflogger_t.c:2189:12: note: len0 is overwritten sphde-1.4.0/src/tests/sphlflogger_t.c:1212:14: style: Variable 'temp0' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlflogger_t.c:1359:14: style: Variable 'temp0' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlflogger_t.c:1484:14: style: Variable 'temp0' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlflogger_t.c:2135:13: style: Variable 'temp0' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:219:4: warning: printf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum] sphde-1.4.0/src/tests/sphlogportal_tt.c:188:23: style: Unused variable: handle [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:188:31: style: Unused variable: handle0 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:191:8: style: Unused variable: temp5 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:192:8: style: Unused variable: temp6 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:193:9: style: Unused variable: tempn_i [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:193:18: style: Unused variable: temp0_i [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:193:27: style: Unused variable: temp1_i [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:193:36: style: Unused variable: temp2_i [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:195:7: style: Unused variable: tarray [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:198:23: style: Unused variable: handlex [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:198:32: style: Unused variable: handle4 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:198:41: style: Unused variable: handle5 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:199:13: style: Unused variable: entry_pid [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:199:24: style: Unused variable: entry_tid [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:200:13: style: Unused variable: entry_timestamp [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:200:30: style: Unused variable: prev_timestamp [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:201:22: style: Unused variable: iter [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:201:28: style: Unused variable: iter0 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:201:35: style: Unused variable: iter1 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:202:20: style: Unused variable: entry [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:546:11: style: Unused variable: tempAddr1 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:547:11: style: Unused variable: tempAddr2 [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:548:11: style: Variable 'BaseAddr1' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:549:11: style: Variable 'BaseAddr2' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:550:11: style: Variable 'BaseAddr3' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:553:20: style: Unused variable: tempAddr [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:554:9: style: Unused variable: rc [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:555:11: style: Unused variable: i [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:555:14: style: Unused variable: j [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:555:17: style: Unused variable: ss [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:555:21: style: Unused variable: flag [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:556:18: style: Unused variable: ui [unusedVariable] sphde-1.4.0/src/tests/sphlogportal_tt.c:556:22: style: Unused variable: uj [unusedVariable] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:1103:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:1114:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:1457:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:1468:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:43:25: style: struct member 'sphPCQSem_t::threshold' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:44:25: style: struct member 'sphPCQSem_t::spincnt' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:46:25: style: struct member 'sphPCQSem_t::waiting' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:47:25: style: struct member 'sphPCQSem_t::waitcnt' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:48:25: style: struct member 'sphPCQSem_t::postcnt' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:49:25: style: struct member 'sphPCQSem_t::remaining' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:50:25: style: struct member 'sphPCQSem_t::semvalue' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphmultipcqueue_t.c:51:16: style: struct member 'sphPCQSem_t::datavalue' is never used. [unusedStructMember] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:513:24: warning: Either the condition 'tempx' is redundant or there is possible null pointer dereference: tempx. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:539:15: note: Assuming that condition 'tempx' is not redundant sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:513:24: note: Null pointer dereference sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:877:24: warning: Either the condition 'tempx' is redundant or there is possible null pointer dereference: tempx. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:903:15: note: Assuming that condition 'tempx' is not redundant sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:877:24: note: Null pointer dereference sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:2412:17: warning: Either the condition 'tempx' is redundant or there is possible null pointer dereference: tempx. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:2436:8: note: Assuming that condition 'tempx' is not redundant sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:2412:17: note: Null pointer dereference sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:2776:17: warning: Either the condition 'tempx' is redundant or there is possible null pointer dereference: tempx. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:2800:8: note: Assuming that condition 'tempx' is not redundant sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:2776:17: note: Null pointer dereference sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:4114:17: warning: Either the condition 'tempx' is redundant or there is possible null pointer dereference: tempx. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:4138:8: note: Assuming that condition 'tempx' is not redundant sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:4114:17: note: Null pointer dereference sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:4478:17: warning: Either the condition 'tempx' is redundant or there is possible null pointer dereference: tempx. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:4502:8: note: Assuming that condition 'tempx' is not redundant sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:4478:17: note: Null pointer dereference sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:5845:17: warning: Either the condition 'tempx' is redundant or there is possible null pointer dereference: tempx. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:5871:8: note: Assuming that condition 'tempx' is not redundant sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:5845:17: note: Null pointer dereference sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:6214:17: warning: Either the condition 'tempx' is redundant or there is possible null pointer dereference: tempx. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:6241:8: note: Assuming that condition 'tempx' is not redundant sphde-1.4.0/src/tests/sphsinglepcqueue_t.c:6214:17: note: Null pointer dereference sphde-1.4.0/src/tests/sphsinglepcqueue_tt.c:676:7: style: Unused variable: rc [unusedVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1473:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1473:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1473:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1473:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1526:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1526:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1526:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1526:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1588:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1588:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1588:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1588:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1595:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1595:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1595:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1595:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1656:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1656:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1656:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1656:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1663:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1663:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1663:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1663:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1731:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1731:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1731:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1731:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1738:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1738:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1738:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1738:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1745:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1745:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1745:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1745:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1811:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1811:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1811:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1811:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1818:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1818:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1818:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1818:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1825:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1825:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1825:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1825:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1892:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1892:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1892:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1892:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1899:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1899:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1899:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1899:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1906:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1906:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1906:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1906:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1974:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1974:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1974:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1974:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1981:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1981:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1981:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1981:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1988:8: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1988:8: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1988:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1988:8: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1301:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1296:10: note: rc is assigned sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1301:6: note: rc is overwritten sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1301:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1299:7: note: rc is assigned sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1301:6: note: rc is overwritten sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1314:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1309:10: note: rc is assigned sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1314:6: note: rc is overwritten sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1314:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1312:7: note: rc is assigned sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1314:6: note: rc is overwritten sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:820:23: style: Local variable 'pwait' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:75:27: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:820:23: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:820:31: style: Local variable 'cwait' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:75:34: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:820:31: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:889:23: style: Local variable 'pwait' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:75:27: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:889:23: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:889:31: style: Local variable 'cwait' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:75:34: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:889:31: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:938:23: style: Local variable 'pwait' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:75:27: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:938:23: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:938:31: style: Local variable 'cwait' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:75:34: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:938:31: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:939:23: style: Local variable 'pwait2' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:77:27: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:939:23: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:939:32: style: Local variable 'cwait2' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:77:35: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:939:32: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1011:23: style: Local variable 'pwait' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:75:27: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1011:23: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1011:31: style: Local variable 'cwait' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:75:34: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1011:31: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1012:23: style: Local variable 'pwait2' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:77:27: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1012:23: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1012:32: style: Local variable 'cwait2' shadows outer variable [shadowVariable] sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:77:35: note: Shadowed declaration sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1012:32: note: Shadow variable sphde-1.4.0/src/tests/sphsinglepcqueue_ttt.c:1333:7: style: Unused variable: rc [unusedVariable] sphde-1.4.0/src/tests/sphthread_t.c:217:23: warning: Logical conjunction always evaluates to false: seconds < 0.1 && seconds > 0.2. [incorrectLogicOperator] sphde-1.4.0/src/tests/sphthread_t.c:228:23: warning: Logical conjunction always evaluates to false: seconds < 1.0 && seconds > 1.2. [incorrectLogicOperator] sphde-1.4.0/src/tests/sphthread_t.c:150:64: warning: Either the condition 'cl!=NULL' is redundant or there is possible null pointer dereference: cl. [nullPointerRedundantCheck] sphde-1.4.0/src/tests/sphthread_t.c:137:11: note: Assuming that condition 'cl!=NULL' is not redundant sphde-1.4.0/src/tests/sphthread_t.c:150:64: note: Null pointer dereference sphde-1.4.0/src/ultree.h:42:18: performance:inconclusive: Technically the member function 'uLongTreeNode::insertNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/ultree.cpp:322:17: note: Technically the member function 'uLongTreeNode::insertNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:42:18: note: Technically the member function 'uLongTreeNode::insertNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:44:18: performance:inconclusive: Technically the member function 'uLongTreeNode::insertNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/ultree.cpp:369:17: note: Technically the member function 'uLongTreeNode::insertNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:44:18: note: Technically the member function 'uLongTreeNode::insertNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:46:18: performance:inconclusive: Technically the member function 'uLongTreeNode::searchNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/ultree.cpp:75:17: note: Technically the member function 'uLongTreeNode::searchNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:46:18: note: Technically the member function 'uLongTreeNode::searchNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:48:18: performance:inconclusive: Technically the member function 'uLongTreeNode::searchNextNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/ultree.cpp:107:17: note: Technically the member function 'uLongTreeNode::searchNextNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:48:18: note: Technically the member function 'uLongTreeNode::searchNextNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:50:18: performance:inconclusive: Technically the member function 'uLongTreeNode::searchEqualOrNextNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/ultree.cpp:147:17: note: Technically the member function 'uLongTreeNode::searchEqualOrNextNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:50:18: note: Technically the member function 'uLongTreeNode::searchEqualOrNextNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:52:18: performance:inconclusive: Technically the member function 'uLongTreeNode::searchPrevNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/ultree.cpp:221:17: note: Technically the member function 'uLongTreeNode::searchPrevNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:52:18: note: Technically the member function 'uLongTreeNode::searchPrevNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:58:18: performance:inconclusive: Technically the member function 'uLongTreeNode::removeNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/ultree.cpp:292:17: note: Technically the member function 'uLongTreeNode::removeNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:58:18: note: Technically the member function 'uLongTreeNode::removeNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:59:8: performance:inconclusive: Technically the member function 'uLongTreeNode::deleteNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] sphde-1.4.0/src/ultree.cpp:261:16: note: Technically the member function 'uLongTreeNode::deleteNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.h:59:8: note: Technically the member function 'uLongTreeNode::deleteNode' can be static (but you may consider moving to unnamed namespace). sphde-1.4.0/src/ultree.cpp:243:19: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] sphde-1.4.0/src/ultree.cpp:241:15: note: outer condition: p->keykeykey>k' is always true [knownConditionTrueFalse] sphde-1.4.0/src/ultree.cpp:116:18: note: Assuming that condition 'p->key==k' is not redundant sphde-1.4.0/src/ultree.cpp:135:19: note: Condition 'p->key>k' is always true sphde-1.4.0/src/ultree.cpp:170:19: style: Condition 'p->key>k' is always true [knownConditionTrueFalse] sphde-1.4.0/src/ultree.cpp:156:18: note: Assuming that condition 'p->key==k' is not redundant sphde-1.4.0/src/ultree.cpp:170:19: note: Condition 'p->key>k' is always true sphde-1.4.0/src/ultree.cpp:209:28: style: Condition 'p->key>k' is always true [knownConditionTrueFalse] sphde-1.4.0/src/ultree.cpp:193:22: note: Assuming that condition 'p->key==k' is not redundant sphde-1.4.0/src/ultree.cpp:209:28: note: Condition 'p->key>k' is always true sphde-1.4.0/src/ultree.cpp:328:24: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/ultree.cpp:429:32: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/ultree.cpp:452:27: style: C-style pointer casting [cstyleCast] sphde-1.4.0/src/ultree.cpp:42:61: style:inconclusive: Function 'searchNode' argument 2 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] sphde-1.4.0/src/ultree.h:55:19: note: Function 'searchNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:42:61: note: Function 'searchNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:75:59: style:inconclusive: Function 'searchNode' argument 2 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] sphde-1.4.0/src/ultree.h:47:19: note: Function 'searchNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:75:59: note: Function 'searchNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:107:63: style:inconclusive: Function 'searchNextNode' argument 2 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] sphde-1.4.0/src/ultree.h:49:20: note: Function 'searchNextNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:107:63: note: Function 'searchNextNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:147:70: style:inconclusive: Function 'searchEqualOrNextNode' argument 2 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] sphde-1.4.0/src/ultree.h:51:22: note: Function 'searchEqualOrNextNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:147:70: note: Function 'searchEqualOrNextNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:182:72: style:inconclusive: Function 'searchEqualOrNextNode' argument 2 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] sphde-1.4.0/src/ultree.h:57:22: note: Function 'searchEqualOrNextNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:182:72: note: Function 'searchEqualOrNextNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:221:63: style:inconclusive: Function 'searchPrevNode' argument 2 names different: declaration 'key' definition 'k'. [funcArgNamesDifferent] sphde-1.4.0/src/ultree.h:53:20: note: Function 'searchPrevNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:221:63: note: Function 'searchPrevNode' argument 2 names different: declaration 'key' definition 'k'. sphde-1.4.0/src/ultree.cpp:369:66: style:inconclusive: Function 'insertNode' argument 2 names different: declaration 'node' definition 'n'. [funcArgNamesDifferent] sphde-1.4.0/src/ultree.h:45:25: note: Function 'insertNode' argument 2 names different: declaration 'node' definition 'n'. sphde-1.4.0/src/ultree.cpp:369:66: note: Function 'insertNode' argument 2 names different: declaration 'node' definition 'n'. sphde-1.4.0/src/ultree.cpp:44:21: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/ultree.cpp:184:21: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/ultree.cpp:420:11: style: Variable 'count' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/ultree.cpp:440:11: style: Variable 'count' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlogportal_t.c:732:11: style: Variable 'temp0' is assigned a value that is never used. [unreadVariable] sphde-1.4.0/src/tests/sphlogportal_t.c:1014:14: style: Variable 'temp0' is assigned a value that is never used. [unreadVariable] diff: head sphde-1.4.0/src/bitv_priv.h:125:65: style: Parameter 'endvec' can be declared as pointer to const [constParameter] 2.8 sphde-1.4.0/src/bitv_priv.h:125:65: style: Parameter 'endvec' can be declared with const [constParameter] head sphde-1.4.0/src/bitv_priv.h:153:69: style: Parameter 'endvec' can be declared as pointer to const [constParameter] 2.8 sphde-1.4.0/src/bitv_priv.h:153:69: style: Parameter 'endvec' can be declared with const [constParameter] head sphde-1.4.0/src/sasulock.cpp:113:38: style: Parameter 'addrToLock' can be declared as pointer to const [constParameter] 2.8 sphde-1.4.0/src/sasulock.cpp:113:38: style: Parameter 'addrToLock' can be declared with const [constParameter] head sphde-1.4.0/src/sasulock.h:93:3: style: Class 'SasUserLock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] DONE