2022-06-30 04:39 ftp://ftp.de.debian.org/debian/pool/main/p/paho.mqtt.c/paho.mqtt.c_1.3.9.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 06b408e (2022-06-29 13:43:17 +0200) count: 777 777 elapsed-time: 44.8 68.4 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: paho.mqtt.c-1.3.9/src/Heap.c:209:3: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] paho.mqtt.c-1.3.9/src/Heap.c:233:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] paho.mqtt.c-1.3.9/src/Heap.c:346:4: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] paho.mqtt.c-1.3.9/src/Heap.c:393:82: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] paho.mqtt.c-1.3.9/src/Log.c:325:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] paho.mqtt.c-1.3.9/src/Log.c:456:126: style: Parameter 'rc' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/MQTTPacket.c:224:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/MQTTPacket.c:215:6: note: rc is assigned paho.mqtt.c-1.3.9/src/MQTTPacket.c:224:5: note: rc is overwritten paho.mqtt.c-1.3.9/src/MQTTPacket.c:278:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/MQTTPacket.c:274:6: note: rc is assigned paho.mqtt.c-1.3.9/src/MQTTPacket.c:278:5: note: rc is overwritten paho.mqtt.c-1.3.9/src/MQTTPacket.c:190:90: style:inconclusive: Function 'MQTTPacket_send' argument 5 names different: declaration 'free' definition 'freeData'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTPacket.h:241:90: note: Function 'MQTTPacket_send' argument 5 names different: declaration 'free' definition 'freeData'. paho.mqtt.c-1.3.9/src/MQTTPacket.c:190:90: note: Function 'MQTTPacket_send' argument 5 names different: declaration 'free' definition 'freeData'. paho.mqtt.c-1.3.9/src/MQTTPacket.c:250:73: style:inconclusive: Function 'MQTTPacket_sends' argument 3 names different: declaration 'buffers' definition 'bufs'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTPacket.h:242:73: note: Function 'MQTTPacket_sends' argument 3 names different: declaration 'buffers' definition 'bufs'. paho.mqtt.c-1.3.9/src/MQTTPacket.c:250:73: note: Function 'MQTTPacket_sends' argument 3 names different: declaration 'buffers' definition 'bufs'. paho.mqtt.c-1.3.9/src/MQTTPacket.c:380:44: style: Parameter 'enddata' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/MQTTPacket.c:978:68: style: Parameter 'enddata' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/MQTTClient.c:2505:23: style: The comparison 'rc1 == 0' is always true. [knownConditionTrueFalse] paho.mqtt.c-1.3.9/src/MQTTClient.c:2493:12: note: 'rc1' is assigned value '0' here. paho.mqtt.c-1.3.9/src/MQTTClient.c:2505:23: note: The comparison 'rc1 == 0' is always true. paho.mqtt.c-1.3.9/src/MQTTClient.c:2535:65: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] paho.mqtt.c-1.3.9/src/MQTTClient.c:2586:48: style: Checking if unsigned expression 'timeout' is less than zero. [unsignedLessThanZero] paho.mqtt.c-1.3.9/src/MQTTClient.c:607:50: style:inconclusive: Function 'MQTTClient_freeMessage' argument 1 names different: declaration 'msg' definition 'message'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1366:62: note: Function 'MQTTClient_freeMessage' argument 1 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTClient.c:607:50: note: Function 'MQTTClient_freeMessage' argument 1 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTClient.c:618:28: style:inconclusive: Function 'MQTTClient_free' argument 1 names different: declaration 'ptr' definition 'memory'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1376:40: note: Function 'MQTTClient_free' argument 1 names different: declaration 'ptr' definition 'memory'. paho.mqtt.c-1.3.9/src/MQTTClient.c:618:28: note: Function 'MQTTClient_free' argument 1 names different: declaration 'ptr' definition 'memory'. paho.mqtt.c-1.3.9/src/MQTTClient.c:1858:71: style:inconclusive: Function 'MQTTClient_disconnect1' argument 3 names different: declaration 'internal' definition 'call_connection_lost'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.c:359:71: note: Function 'MQTTClient_disconnect1' argument 3 names different: declaration 'internal' definition 'call_connection_lost'. paho.mqtt.c-1.3.9/src/MQTTClient.c:1858:71: note: Function 'MQTTClient_disconnect1' argument 3 names different: declaration 'internal' definition 'call_connection_lost'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2260:80: style:inconclusive: Function 'MQTTClient_publish5' argument 8 names different: declaration 'dt' definition 'deliveryToken'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1231:80: note: Function 'MQTTClient_publish5' argument 8 names different: declaration 'dt' definition 'deliveryToken'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2260:80: note: Function 'MQTTClient_publish5' argument 8 names different: declaration 'dt' definition 'deliveryToken'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2400:58: style:inconclusive: Function 'MQTTClient_publish' argument 7 names different: declaration 'dt' definition 'deliveryToken'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1207:29: note: Function 'MQTTClient_publish' argument 7 names different: declaration 'dt' definition 'deliveryToken'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2400:58: note: Function 'MQTTClient_publish' argument 7 names different: declaration 'dt' definition 'deliveryToken'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2413:103: style:inconclusive: Function 'MQTTClient_publishMessage5' argument 3 names different: declaration 'msg' definition 'message'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1273:115: note: Function 'MQTTClient_publishMessage5' argument 3 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2413:103: note: Function 'MQTTClient_publishMessage5' argument 3 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2414:35: style:inconclusive: Function 'MQTTClient_publishMessage5' argument 4 names different: declaration 'dt' definition 'deliveryToken'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1274:29: note: Function 'MQTTClient_publishMessage5' argument 4 names different: declaration 'dt' definition 'deliveryToken'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2414:35: note: Function 'MQTTClient_publishMessage5' argument 4 names different: declaration 'dt' definition 'deliveryToken'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2444:93: style:inconclusive: Function 'MQTTClient_publishMessage' argument 3 names different: declaration 'msg' definition 'message'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1251:105: note: Function 'MQTTClient_publishMessage' argument 3 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2444:93: note: Function 'MQTTClient_publishMessage' argument 3 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2445:43: style:inconclusive: Function 'MQTTClient_publishMessage' argument 4 names different: declaration 'dt' definition 'deliveryToken'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1251:136: note: Function 'MQTTClient_publishMessage' argument 4 names different: declaration 'dt' definition 'deliveryToken'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2445:43: note: Function 'MQTTClient_publishMessage' argument 4 names different: declaration 'dt' definition 'deliveryToken'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2786:78: style:inconclusive: Function 'MQTTClient_waitForCompletion' argument 2 names different: declaration 'dt' definition 'mdt'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTClient.h:1291:90: note: Function 'MQTTClient_waitForCompletion' argument 2 names different: declaration 'dt' definition 'mdt'. paho.mqtt.c-1.3.9/src/MQTTClient.c:2786:78: note: Function 'MQTTClient_waitForCompletion' argument 2 names different: declaration 'dt' definition 'mdt'. paho.mqtt.c-1.3.9/src/MQTTClient.c:1395:17: style: Local variable 'm' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/MQTTClient.c:1173:15: note: Shadowed declaration paho.mqtt.c-1.3.9/src/MQTTClient.c:1395:17: note: Shadow variable paho.mqtt.c-1.3.9/src/MQTTClient.c:2856:14: style: Local variable 'm' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/MQTTClient.c:2831:15: note: Shadowed declaration paho.mqtt.c-1.3.9/src/MQTTClient.c:2856:14: note: Shadow variable paho.mqtt.c-1.3.9/src/MQTTClient.c:2260:42: style: Parameter 'properties' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/MQTTPersistenceDefault.c:495:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] paho.mqtt.c-1.3.9/src/MQTTPersistenceDefault.c:638:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] paho.mqtt.c-1.3.9/src/MQTTPersistenceDefault.c:791:22: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] paho.mqtt.c-1.3.9/src/MQTTPersistenceDefault.c:831:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] paho.mqtt.c-1.3.9/src/MQTTAsync.c:1272:99: style:inconclusive: Function 'MQTTAsync_sendMessage' argument 3 names different: declaration 'msg' definition 'message'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTAsync.h:1585:111: note: Function 'MQTTAsync_sendMessage' argument 3 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1272:99: note: Function 'MQTTAsync_sendMessage' argument 3 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1326:60: style:inconclusive: Function 'MQTTAsync_isComplete' argument 2 names different: declaration 'token' definition 'dt'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTAsync.h:1617:72: note: Function 'MQTTAsync_isComplete' argument 2 names different: declaration 'token' definition 'dt'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1326:60: note: Function 'MQTTAsync_isComplete' argument 2 names different: declaration 'token' definition 'dt'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1371:67: style:inconclusive: Function 'MQTTAsync_waitForCompletion' argument 2 names different: declaration 'token' definition 'dt'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTAsync.h:1632:79: note: Function 'MQTTAsync_waitForCompletion' argument 2 names different: declaration 'token' definition 'dt'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1371:67: note: Function 'MQTTAsync_waitForCompletion' argument 2 names different: declaration 'token' definition 'dt'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1792:48: style:inconclusive: Function 'MQTTAsync_freeMessage' argument 1 names different: declaration 'msg' definition 'message'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTAsync.h:1645:60: note: Function 'MQTTAsync_freeMessage' argument 1 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1792:48: note: Function 'MQTTAsync_freeMessage' argument 1 names different: declaration 'msg' definition 'message'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1803:27: style:inconclusive: Function 'MQTTAsync_free' argument 1 names different: declaration 'ptr' definition 'memory'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTAsync.h:1655:39: note: Function 'MQTTAsync_free' argument 1 names different: declaration 'ptr' definition 'memory'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1803:27: note: Function 'MQTTAsync_free' argument 1 names different: declaration 'ptr' definition 'memory'. paho.mqtt.c-1.3.9/src/MQTTAsync.c:1357:14: style: Local variable 'm' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/MQTTAsync.c:1329:14: note: Shadowed declaration paho.mqtt.c-1.3.9/src/MQTTAsync.c:1357:14: note: Shadow variable paho.mqtt.c-1.3.9/src/MQTTAsync.c:1472:14: style: Local variable 'm' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/MQTTAsync.c:1422:14: note: Shadowed declaration paho.mqtt.c-1.3.9/src/MQTTAsync.c:1472:14: note: Shadow variable paho.mqtt.c-1.3.9/src/MQTTProperties.c:397:42: style:inconclusive: Function 'MQTTProperties_free' argument 1 names different: declaration 'properties' definition 'props'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTProperties.h:158:54: note: Function 'MQTTProperties_free' argument 1 names different: declaration 'properties' definition 'props'. paho.mqtt.c-1.3.9/src/MQTTProperties.c:397:42: note: Function 'MQTTProperties_free' argument 1 names different: declaration 'properties' definition 'props'. paho.mqtt.c-1.3.9/src/MQTTProperties.c:211:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/MQTTProperties.c:211:18: style: Variable 'len' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/MQTTProtocolOut.c:208:59: style:inconclusive: Function 'MQTTProtocol_connect' argument 2 names different: declaration 'acClients' definition 'aClient'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTProtocolOut.h:51:59: note: Function 'MQTTProtocol_connect' argument 2 names different: declaration 'acClients' definition 'aClient'. paho.mqtt.c-1.3.9/src/MQTTProtocolOut.c:208:59: note: Function 'MQTTProtocol_connect' argument 2 names different: declaration 'acClients' definition 'aClient'. paho.mqtt.c-1.3.9/src/MQTTTime.c:33:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/MQTTProtocolClient.c:183:24: error: Buffer is accessed out of bounds: (*mm)->publish->mask [bufferAccessOutOfBounds] paho.mqtt.c-1.3.9/src/MQTTProtocolClient.c:183:39: error: Buffer is accessed out of bounds: publish->mask [bufferAccessOutOfBounds] paho.mqtt.c-1.3.9/src/MQTTProtocolClient.c:163:103: style:inconclusive: Function 'MQTTProtocol_startPublish' argument 5 names different: declaration 'm' definition 'mm'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTProtocolClient.h:34:103: note: Function 'MQTTProtocol_startPublish' argument 5 names different: declaration 'm' definition 'mm'. paho.mqtt.c-1.3.9/src/MQTTProtocolClient.c:163:103: note: Function 'MQTTProtocol_startPublish' argument 5 names different: declaration 'm' definition 'mm'. paho.mqtt.c-1.3.9/src/MQTTProtocolClient.c:928:55: style:inconclusive: Function 'MQTTStrncpy' argument 3 names different: declaration 'num' definition 'dest_size'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTProtocolClient.h:55:55: note: Function 'MQTTStrncpy' argument 3 names different: declaration 'num' definition 'dest_size'. paho.mqtt.c-1.3.9/src/MQTTProtocolClient.c:928:55: note: Function 'MQTTStrncpy' argument 3 names different: declaration 'num' definition 'dest_size'. paho.mqtt.c-1.3.9/src/MQTTVersion.c:98:8: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/MQTTVersion.c:97:8: note: c is assigned paho.mqtt.c-1.3.9/src/MQTTVersion.c:98:8: note: c is overwritten paho.mqtt.c-1.3.9/src/MQTTVersion.c:109:11: style: Variable 'count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/SocketBuffer.c:349:61: style: Parameter 'iovecs' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/SocketBuffer.c:349:74: style: Parameter 'frees' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/Socket.c:619:25: error: Null pointer dereference [nullPointer] paho.mqtt.c-1.3.9/src/Socket.c:678:66: style:inconclusive: Function 'Socket_new' argument 4 names different: declaration 'socket' definition 'sock'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/Socket.h:133:66: note: Function 'Socket_new' argument 4 names different: declaration 'socket' definition 'sock'. paho.mqtt.c-1.3.9/src/Socket.c:678:66: note: Function 'Socket_new' argument 4 names different: declaration 'socket' definition 'sock'. paho.mqtt.c-1.3.9/src/Socket.c:990:47: style:inconclusive: Function 'Socket_continueWrites' argument 2 names different: declaration 'socket' definition 'sock'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/Socket.c:54:47: note: Function 'Socket_continueWrites' argument 2 names different: declaration 'socket' definition 'sock'. paho.mqtt.c-1.3.9/src/Socket.c:990:47: note: Function 'Socket_continueWrites' argument 2 names different: declaration 'socket' definition 'sock'. paho.mqtt.c-1.3.9/src/Socket.c:244:58: style: Parameter 'tp' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/StackTrace.c:106:67: style:inconclusive: Function 'StackTrace_entry' argument 3 names different: declaration 'trace' definition 'trace_level'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/StackTrace.h:69:67: note: Function 'StackTrace_entry' argument 3 names different: declaration 'trace' definition 'trace_level'. paho.mqtt.c-1.3.9/src/StackTrace.c:106:67: note: Function 'StackTrace_entry' argument 3 names different: declaration 'trace' definition 'trace_level'. paho.mqtt.c-1.3.9/src/StackTrace.c:124:56: style:inconclusive: Function 'StackTrace_exit' argument 3 names different: declaration 'return_value' definition 'rc'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/StackTrace.h:70:56: note: Function 'StackTrace_exit' argument 3 names different: declaration 'return_value' definition 'rc'. paho.mqtt.c-1.3.9/src/StackTrace.c:124:56: note: Function 'StackTrace_exit' argument 3 names different: declaration 'return_value' definition 'rc'. paho.mqtt.c-1.3.9/src/StackTrace.c:124:76: style:inconclusive: Function 'StackTrace_exit' argument 4 names different: declaration 'trace' definition 'trace_level'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/StackTrace.h:70:86: note: Function 'StackTrace_exit' argument 4 names different: declaration 'trace' definition 'trace_level'. paho.mqtt.c-1.3.9/src/StackTrace.c:124:76: note: Function 'StackTrace_exit' argument 4 names different: declaration 'trace' definition 'trace_level'. paho.mqtt.c-1.3.9/src/MQTTPersistence.c:91:21: style: Redundant condition: per!=NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] paho.mqtt.c-1.3.9/src/StackTrace.c:48:17: style: struct member 'stackEntry::threadid' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/src/MQTTPersistence.c:51:53: style:inconclusive: Function 'MQTTPersistence_create' argument 1 names different: declaration 'per' definition 'persistence'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTPersistence.h:59:53: note: Function 'MQTTPersistence_create' argument 1 names different: declaration 'per' definition 'persistence'. paho.mqtt.c-1.3.9/src/MQTTPersistence.c:51:53: note: Function 'MQTTPersistence_create' argument 1 names different: declaration 'per' definition 'persistence'. paho.mqtt.c-1.3.9/src/MQTTPersistence.c:605:41: style:inconclusive: Function 'MQTTPersistence_wrapMsgID' argument 1 names different: declaration 'c' definition 'client'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/MQTTPersistence.h:69:41: note: Function 'MQTTPersistence_wrapMsgID' argument 1 names different: declaration 'c' definition 'client'. paho.mqtt.c-1.3.9/src/MQTTPersistence.c:605:41: note: Function 'MQTTPersistence_wrapMsgID' argument 1 names different: declaration 'c' definition 'client'. paho.mqtt.c-1.3.9/src/Thread.c:259:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/Thread.c:442:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/Thread.c:441:5: note: rc is assigned paho.mqtt.c-1.3.9/src/Thread.c:442:5: note: rc is overwritten paho.mqtt.c-1.3.9/src/samples/MQTTAsync_publish.c:178:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/Tree.c:420:46: style:inconclusive: Function 'TreeRemoveNodeIndex' argument 2 names different: declaration 'aNode' definition 'curnode'. [funcArgNamesDifferent] paho.mqtt.c-1.3.9/src/Tree.h:102:46: note: Function 'TreeRemoveNodeIndex' argument 2 names different: declaration 'aNode' definition 'curnode'. paho.mqtt.c-1.3.9/src/Tree.c:420:46: note: Function 'TreeRemoveNodeIndex' argument 2 names different: declaration 'aNode' definition 'curnode'. paho.mqtt.c-1.3.9/src/Tree.c:545:26: style: Parameter 'a' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/samples/MQTTAsync_publish_time.c:181:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/samples/MQTTAsync_publish_time.c:210:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/Tree.c:545:35: style: Parameter 'b' can be declared as pointer to const [constParameter] paho.mqtt.c-1.3.9/src/Tree.c:288:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/MQTTClient_publish.c:68:13: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/samples/MQTTClient_publish.c:65:8: note: rc is assigned paho.mqtt.c-1.3.9/src/samples/MQTTClient_publish.c:68:13: note: rc is overwritten paho.mqtt.c-1.3.9/src/samples/MQTTAsync_subscribe.c:166:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/samples/MQTTAsync_subscribe.c:190:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/samples/MQTTClient_publish_async.c:111:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/samples/MQTTClient_publish_async.c:116:13: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/samples/MQTTClient_publish_async.c:99:9: note: rc is assigned paho.mqtt.c-1.3.9/src/samples/MQTTClient_publish_async.c:116:13: note: rc is overwritten paho.mqtt.c-1.3.9/src/samples/MQTTClient_subscribe.c:105:13: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/samples/MQTTClient_subscribe.c:88:9: note: rc is assigned paho.mqtt.c-1.3.9/src/samples/MQTTClient_subscribe.c:105:13: note: rc is overwritten paho.mqtt.c-1.3.9/src/samples/MQTTClient_subscribe.c:105:13: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/samples/MQTTClient_subscribe.c:101:13: note: rc is assigned paho.mqtt.c-1.3.9/src/samples/MQTTClient_subscribe.c:105:13: note: rc is overwritten paho.mqtt.c-1.3.9/src/samples/paho_c_sub.c:52:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/samples/paho_c_sub.c:210:14: style: Variable 'version' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:63:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:499:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:486:7: note: rc is assigned paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:499:10: note: rc is overwritten paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:237:22: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:42:20: note: Shadowed declaration paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:237:22: note: Shadow variable paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:105:19: style: Variable 'client' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:113:19: style: Variable 'client' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:120:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:126:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:128:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:138:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:149:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:155:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:157:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:167:7: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:222:19: style: Variable 'client' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:469:17: style: Variable 'delim_len' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_c_pub.c:375:14: style: Variable 'version' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_cs_pub.c:309:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/samples/paho_cs_pub.c:302:5: note: rc is assigned paho.mqtt.c-1.3.9/src/samples/paho_cs_pub.c:309:6: note: rc is overwritten paho.mqtt.c-1.3.9/src/samples/paho_cs_pub.c:309:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_cs_pub.c:311:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_cs_pub.c:151:14: style: Variable 'version' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_cs_sub.c:142:28: style: Variable 'conn_opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/samples/paho_cs_sub.c:146:14: style: Variable 'version' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/WebSocket.c:1535:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/WebSocket.c:709:14: style: Local variable 'rc' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/WebSocket.c:675:6: note: Shadowed declaration paho.mqtt.c-1.3.9/src/WebSocket.c:709:14: note: Shadow variable paho.mqtt.c-1.3.9/src/WebSocket.c:723:15: style: Local variable 'rc' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/WebSocket.c:675:6: note: Shadowed declaration paho.mqtt.c-1.3.9/src/WebSocket.c:723:15: note: Shadow variable paho.mqtt.c-1.3.9/src/WebSocket.c:1116:14: style: Local variable 'mask' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/WebSocket.c:1024:13: note: Shadowed declaration paho.mqtt.c-1.3.9/src/WebSocket.c:1116:14: note: Shadow variable paho.mqtt.c-1.3.9/src/WebSocket.c:1024:13: style: Variable 'mask' can be declared as const array [constVariable] paho.mqtt.c-1.3.9/src/WebSocket.c:1546:7: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/python/mqttasync_module.c:629:2: error: There is an unknown macro here somewhere. Configuration is required. If Py_END_ALLOW_THREADS is a macro then please configure it. [unknownMacro] paho.mqtt.c-1.3.9/test/python/mqttclient_module.c:307:2: error: There is an unknown macro here somewhere. Configuration is required. If Py_END_ALLOW_THREADS is a macro then please configure it. [unknownMacro] paho.mqtt.c-1.3.9/test/sync_client_test.c:353:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:422:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:490:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:501:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:556:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:561:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:590:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:594:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:731:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:736:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:793:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:867:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:932:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:1020:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:1029:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/sync_client_test.c:353:2: error: Invalid usleep() argument nr 1. The value is 2000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:422:2: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:490:2: error: Invalid usleep() argument nr 1. The value is 2000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:501:5: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:556:5: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:561:5: error: Invalid usleep() argument nr 1. The value is 2000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:736:6: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:793:5: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:867:6: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:932:3: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:1020:5: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:1029:5: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:925:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/sync_client_test.c:921:5: note: rc is assigned paho.mqtt.c-1.3.9/test/sync_client_test.c:925:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test1.c:96:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test1.c:104:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test1.c:494:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test1.c:504:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test1.c:523:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test1.c:504:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test1.c:523:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/sync_client_test.c:646:6: style: struct member 'networkHandles::socket' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:647:9: style: struct member 'networkHandles::lastContact' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:657:8: style: struct member 'Clients::clientID' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:658:8: style: struct member 'Clients::username' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:659:8: style: struct member 'Clients::password' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:660:15: style: struct member 'Clients::cleansession' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:661:15: style: struct member 'Clients::connected' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:662:15: style: struct member 'Clients::good' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:663:15: style: struct member 'Clients::ping_outstanding' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:664:6: style: struct member 'Clients::connect_state' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:665:17: style: struct member 'Clients::net' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/sync_client_test.c:381:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:444:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:745:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:690:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:811:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:760:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:874:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:825:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:936:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:889:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:948:19: style: Variable 'count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:976:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:948:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:991:19: style: Variable 'count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:991:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:1047:19: style: Variable 'count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/sync_client_test.c:1047:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/test1.c:749:7: style: Local variable 'i' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test1.c:695:6: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test1.c:749:7: note: Shadow variable paho.mqtt.c-1.3.9/test/test1.c:768:7: style: Local variable 'i' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test1.c:695:6: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test1.c:768:7: note: Shadow variable paho.mqtt.c-1.3.9/test/test1.c:1167:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test1.c:247:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test1.c:1167:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test1.c:471:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test1.c:472:19: style: Variable 'wait_seconds' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test1.c:615:31: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test1.c:653:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test1.c:692:14: style: Variable 'mytoken' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test1.c:755:11: style: Variable 'mytoken' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:108:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:406:11: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:404:7: note: rc is assigned paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:406:11: note: rc is overwritten paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:1570:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:1535:7: note: rc is assigned paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:1570:5: note: rc is overwritten paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:840:9: style: Local variable 'rc' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:788:6: note: Shadowed declaration paho.mqtt.c-1.3.9/src/MQTTAsyncUtils.c:840:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:110:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test10.c:118:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test10.c:465:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:511:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:527:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:554:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:574:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:586:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:729:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:871:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:998:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:1225:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:1247:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:1268:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:1452:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:1473:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:1623:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:1790:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test10.c:465:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:511:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:527:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:554:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:574:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:586:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:729:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:871:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:998:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:1225:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:1247:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:1268:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:1452:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:1473:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:1623:10: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test10.c:353:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:353:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:387:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:387:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:645:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:645:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:785:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:785:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:924:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:924:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:1022:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:1022:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:1121:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:1121:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:1150:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:1150:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:1363:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:1363:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:1541:13: style: Local variable 'c' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:1656:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:1541:13: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:1816:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test10.c:261:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test10.c:1816:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test10.c:1335:3: warning: Uninitialized variable: prop [uninitvar] paho.mqtt.c-1.3.9/test/test10.c:1332:33: note: Assuming condition is false paho.mqtt.c-1.3.9/test/test10.c:1335:3: note: Uninitialized variable: prop paho.mqtt.c-1.3.9/test/test10.c:353:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:386:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:389:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:393:24: style: Variable 'subopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:620:25: style: Variable 'props_count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:702:22: style: Variable 'topicAliasMaximum' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:734:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:644:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:647:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:753:17: style: Variable 'topicAlias' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:876:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:784:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:895:17: style: Variable 'topicAlias' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1004:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:923:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1065:20: style: Variable 'receive_maximum' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1095:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1021:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1027:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1027:21: style: Variable 'count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1121:15: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1198:20: style: Variable 'receive_maximum' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1279:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1149:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1157:14: style: Variable 'i' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1317:25: style: Variable 'props_count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1414:12: style: Variable 'subsids' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1479:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1362:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1373:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1507:18: style: Variable 'subsidcount' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1507:25: style: Variable 'i' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1507:37: style: Variable 'subsid' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1516:25: style: Variable 'props_count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1629:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1540:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1660:18: style: Variable 'subsidcount' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1660:25: style: Variable 'i' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1660:37: style: Variable 'subsid' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1669:25: style: Variable 'props_count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1797:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test10.c:1687:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:144:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] paho.mqtt.c-1.3.9/test/test11.c:526:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:539:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:717:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:897:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:1059:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:1233:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:1438:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:1675:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:1862:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:2062:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:2069:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test11.c:517:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test11.c:484:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test11.c:517:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test11.c:2094:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test11.c:223:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test11.c:2094:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test11.c:325:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:333:25: style: Variable 'props_count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:393:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:456:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:464:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:568:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:578:25: style: Variable 'props_count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:670:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:673:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:677:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:751:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:930:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1087:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1088:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1089:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1118:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1258:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1270:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1271:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1566:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1705:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test11.c:1894:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test2.c:94:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test2.c:102:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test2.c:386:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test2.c:396:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test2.c:484:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test2.c:578:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test2.c:588:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test2.c:607:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test2.c:396:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test2.c:484:11: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test2.c:588:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test2.c:607:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test2.c:554:6: style: Local variable 'iterations' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test2.c:349:12: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test2.c:554:6: note: Shadow variable paho.mqtt.c-1.3.9/test/test2.c:679:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test2.c:238:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test2.c:679:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test2.c:356:19: style: Variable 'wait_seconds' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test2.c:555:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test2.c:556:19: style: Variable 'wait_seconds' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:413:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:507:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:718:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:907:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:990:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1095:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1116:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1129:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1311:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1328:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1365:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1414:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1435:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1591:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1619:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1647:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1675:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1717:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1729:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test4.c:1414:10: error: Invalid usleep() argument nr 1. The value is 5000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test4.c:404:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:403:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:404:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:498:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:497:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:498:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:898:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:897:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:898:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:981:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:980:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:981:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:1302:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:1301:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:1302:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:1319:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:1318:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:1319:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:1337:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:1335:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:1337:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:1339:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:1337:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:1339:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:1369:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:1353:6: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:1369:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:1582:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:1581:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:1582:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:1638:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test4.c:1637:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test4.c:1638:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test4.c:368:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test4.c:260:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test4.c:368:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test4.c:458:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test4.c:260:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test4.c:458:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test4.c:861:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test4.c:260:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test4.c:861:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test4.c:956:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test4.c:260:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test4.c:956:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test4.c:1058:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test4.c:260:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test4.c:1058:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test4.c:1392:7: style: Local variable 'i' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test4.c:1345:6: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test4.c:1392:7: note: Shadow variable paho.mqtt.c-1.3.9/test/test4.c:1754:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test4.c:217:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test4.c:1754:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test4.c:680:24: error: Uninitialized variable: clientdata[i].clientid [legacyUninitvar] paho.mqtt.c-1.3.9/test/test4.c:363:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:368:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:453:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:458:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:647:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:666:14: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:669:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:740:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:778:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:791:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:828:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:856:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:861:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:922:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:923:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:935:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:936:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:951:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:954:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:956:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:1052:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:1055:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:1058:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:1187:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:1255:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:1527:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test4.c:1543:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test15.c:98:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test15.c:106:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test15.c:612:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test15.c:622:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test15.c:641:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test15.c:622:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test15.c:641:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test15.c:943:7: style: Local variable 'i' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test15.c:833:6: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test15.c:943:7: note: Shadow variable paho.mqtt.c-1.3.9/test/test15.c:972:7: style: Local variable 'i' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test15.c:833:6: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test15.c:972:7: note: Shadow variable paho.mqtt.c-1.3.9/test/test15.c:1412:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test15.c:249:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test15.c:1412:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test15.c:589:24: style: Variable 'response' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test15.c:590:19: style: Variable 'wait_seconds' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test15.c:742:31: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test15.c:1029:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:165:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test45.c:1621:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test45.c:1605:6: note: rc is assigned paho.mqtt.c-1.3.9/test/test45.c:1621:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test45.c:522:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test45.c:334:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test45.c:522:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test45.c:624:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test45.c:334:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test45.c:624:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test45.c:1041:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test45.c:334:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test45.c:1041:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test45.c:1132:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test45.c:334:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test45.c:1132:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test45.c:1230:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test45.c:334:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test45.c:1230:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test45.c:1652:7: style: Local variable 'i' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test45.c:1491:6: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test45.c:1652:7: note: Shadow variable paho.mqtt.c-1.3.9/test/test45.c:2048:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test45.c:226:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test45.c:2048:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test45.c:843:24: error: Uninitialized variable: clientdata[i].clientid [legacyUninitvar] paho.mqtt.c-1.3.9/test/test45.c:309:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:468:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:514:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:522:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:619:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:624:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:809:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:828:14: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:831:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:899:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:937:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:950:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1006:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1036:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1041:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1098:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1099:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1111:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1112:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1127:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1130:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1132:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1225:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1228:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1230:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1384:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1478:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1837:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test45.c:1853:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:184:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test3.c:192:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test3.c:538:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test3.c:548:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test3.c:567:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test3.c:548:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test3.c:567:12: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test3.c:1707:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test3.c:367:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test3.c:1707:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test3.c:1662:8: style: struct member 'Clients::clientID' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1663:8: style: struct member 'Clients::username' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1664:8: style: struct member 'Clients::password' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1665:15: style: struct member 'Clients::cleansession' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1666:15: style: struct member 'Clients::connected' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1667:15: style: struct member 'Clients::good' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1668:15: style: struct member 'Clients::ping_outstanding' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1669:15: style: struct member 'Clients::connect_state' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1670:6: style: struct member 'Clients::socket' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1671:6: style: struct member 'Clients::msgID' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1672:6: style: struct member 'Clients::keepAliveInterval' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1673:6: style: struct member 'Clients::retryInterval' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1674:6: style: struct member 'Clients::maxInflightMessages' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1675:9: style: struct member 'Clients::lastContact' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1676:8: style: struct member 'Clients::will' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1677:8: style: struct member 'Clients::inboundMsgs' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1678:8: style: struct member 'Clients::outboundMsgs' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1679:8: style: struct member 'Clients::messageQueue' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1680:8: style: struct member 'Clients::phandle' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1681:26: style: struct member 'Clients::persistence' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1682:6: style: struct member 'Clients::connectOptionsVersion' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1687:8: style: struct member 'MQTTClients::serverURI' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1688:11: style: struct member 'MQTTClients::c' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1689:29: style: struct member 'MQTTClients::cl' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1690:29: style: struct member 'MQTTClients::ma' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1691:31: style: struct member 'MQTTClients::dc' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1692:8: style: struct member 'MQTTClients::context' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1694:6: style: struct member 'MQTTClients::connect_sem' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1695:6: style: struct member 'MQTTClients::rc' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1696:6: style: struct member 'MQTTClients::connack_sem' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1697:6: style: struct member 'MQTTClients::suback_sem' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1698:6: style: struct member 'MQTTClients::unsuback_sem' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:1699:8: style: struct member 'MQTTClients::pack' is never used. [unusedStructMember] paho.mqtt.c-1.3.9/test/test3.c:514:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:515:19: style: Variable 'wait_seconds' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:585:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:586:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:589:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:651:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:736:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:813:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:814:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:817:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:873:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:874:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:877:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:938:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1021:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1100:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1170:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1171:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1174:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1226:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1303:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1377:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1456:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1534:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1535:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1538:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test3.c:1612:25: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:386:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test8.c:476:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test8.c:685:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test8.c:872:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test8.c:955:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test8.c:1017:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test8.c:1079:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test8.c:377:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test8.c:376:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test8.c:377:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test8.c:467:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test8.c:466:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test8.c:467:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test8.c:863:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test8.c:862:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test8.c:863:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test8.c:946:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test8.c:945:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test8.c:946:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test8.c:1008:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test8.c:1007:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test8.c:1008:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test8.c:1070:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test8.c:1069:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test8.c:1070:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test8.c:618:2: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] paho.mqtt.c-1.3.9/test/test8.c:340:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test8.c:223:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test8.c:340:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test8.c:431:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test8.c:223:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test8.c:431:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test8.c:829:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test8.c:223:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test8.c:829:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test8.c:918:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test8.c:223:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test8.c:918:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test8.c:980:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test8.c:223:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test8.c:980:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test8.c:1042:8: style: Local variable 'test_topic' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test8.c:223:7: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test8.c:1042:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test8.c:1105:8: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test8.c:199:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test8.c:1105:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test8.c:648:24: error: Uninitialized variable: clientdata[i].clientid [legacyUninitvar] paho.mqtt.c-1.3.9/test/test8.c:265:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:296:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:319:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:320:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:335:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:340:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:426:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:431:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:616:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:636:14: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:639:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:707:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:745:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:758:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:824:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:829:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:890:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:900:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:918:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:980:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test8.c:1042:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test6.c:122:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test6.c:128:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test6.c:218:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test6.c:408:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test6.c:409:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test6.c:410:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test6.c:409:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test6.c:408:8: note: token is assigned paho.mqtt.c-1.3.9/test/test6.c:409:8: note: token is overwritten paho.mqtt.c-1.3.9/test/test6.c:410:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test6.c:409:8: note: token is assigned paho.mqtt.c-1.3.9/test/test6.c:410:8: note: token is overwritten paho.mqtt.c-1.3.9/test/test6.c:783:16: style: Variable 'ropts.context' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test6.c:780:16: note: ropts.context is assigned paho.mqtt.c-1.3.9/test/test6.c:783:16: note: ropts.context is overwritten paho.mqtt.c-1.3.9/test/test6.c:807:16: style: Variable 'dopts.context' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test6.c:804:16: note: dopts.context is assigned paho.mqtt.c-1.3.9/test/test6.c:807:16: note: dopts.context is overwritten paho.mqtt.c-1.3.9/test/test6.c:446:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test6.c:477:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test6.c:478:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test6.c:640:6: style: Variable 'interval' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test6.c:765:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test6.c:937:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:441:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:452:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:473:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:734:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:840:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:850:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:947:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1045:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1154:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1269:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1279:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1373:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1402:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1496:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1594:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1604:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1708:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1737:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1841:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1870:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:1962:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:2069:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:2333:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:2344:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:2442:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:2452:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:2553:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:2563:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:2674:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test5.c:452:11: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test5.c:473:11: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] paho.mqtt.c-1.3.9/test/test5.c:2232:20: style: Variable 'pubmsg.payloadlen' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test5.c:2222:20: note: pubmsg.payloadlen is assigned paho.mqtt.c-1.3.9/test/test5.c:2232:20: note: pubmsg.payloadlen is overwritten paho.mqtt.c-1.3.9/test/test5.c:2324:5: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test5.c:2323:5: note: rc is assigned paho.mqtt.c-1.3.9/test/test5.c:2324:5: note: rc is overwritten paho.mqtt.c-1.3.9/test/test5.c:1389:29: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test5.c:1314:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test5.c:1389:29: note: Shadow variable paho.mqtt.c-1.3.9/test/test5.c:1724:29: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test5.c:1645:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test5.c:1724:29: note: Shadow variable paho.mqtt.c-1.3.9/test/test5.c:1857:29: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test5.c:1778:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test5.c:1857:29: note: Shadow variable paho.mqtt.c-1.3.9/test/test5.c:2696:8: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test5.c:330:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test5.c:2696:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test5.c:414:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:415:19: style: Variable 'wait_seconds' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:533:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:671:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:677:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:889:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:984:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:990:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1083:14: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1088:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1089:19: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1090:12: style: Variable 'count' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1309:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1442:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1531:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1540:6: style: Unused variable: i [unusedVariable] paho.mqtt.c-1.3.9/test/test5.c:1909:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:1999:14: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:2003:9: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:2136:6: style: Unused variable: rc [unusedVariable] paho.mqtt.c-1.3.9/test/test5.c:2179:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:2193:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:2237:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:2338:5: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:2260:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:2268:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test5.c:2393:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:147:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test95.c:2243:2: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_uint] paho.mqtt.c-1.3.9/test/test_connect_destroy.c:93:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test_connect_destroy.c:101:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test_connect_destroy.c:182:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test_connect_destroy.c:385:8: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test_connect_destroy.c:243:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test_connect_destroy.c:385:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test_connect_destroy.c:332:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:615:29: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:493:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:615:29: note: Shadow variable paho.mqtt.c-1.3.9/test/test95.c:616:16: style: Local variable 'property' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:503:15: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:616:16: note: Shadow variable paho.mqtt.c-1.3.9/test/test95.c:617:18: style: Local variable 'props' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:501:17: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:617:18: note: Shadow variable paho.mqtt.c-1.3.9/test/test95.c:933:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:818:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:933:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test95.c:1203:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:1090:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:1203:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test95.c:1472:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:1358:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:1472:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test95.c:1738:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:1624:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:1738:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test95.c:1909:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:1788:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:1909:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test95.c:2239:8: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test95.c:208:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test95.c:2239:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:146:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test9.c:2697:2: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_uint] paho.mqtt.c-1.3.9/test/test95.c:295:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:374:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:481:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:491:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:718:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:806:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:816:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:990:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1078:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1088:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1257:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1346:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1356:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1530:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1612:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1622:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1786:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1968:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:1986:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:2002:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_issue373.c:127:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] paho.mqtt.c-1.3.9/test/test95.c:2009:20: style: Variable 'pubmsg.payloadlen' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_issue373.c:150:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test95.c:2010:13: style: Variable 'pubmsg.qos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_issue373.c:386:2: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_uint] paho.mqtt.c-1.3.9/test/test95.c:2011:18: style: Variable 'pubmsg.retained' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:2038:14: style: Variable 'qoss' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:2042:18: style: Variable 'opts.onSuccess5' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:2043:15: style: Variable 'opts.context' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test95.c:2056:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_issue373.c:383:8: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test_issue373.c:156:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test_issue373.c:383:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test_issue373.c:274:8: style: Variable 'testname' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_issue373.c:277:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_issue373.c:381:16: style: Variable 'numtests' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:540:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:435:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:540:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:807:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:696:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:807:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:1073:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:967:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:1073:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:1333:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:1226:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:1333:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:1590:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:1484:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:1590:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:1753:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:1640:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:1753:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:2183:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:2145:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:2183:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:2245:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:2145:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:2245:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:2372:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:2334:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:2372:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:2581:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:2510:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:2581:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:2630:30: style: Local variable 'opts' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:2510:27: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:2630:30: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:2693:8: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test9.c:207:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test9.c:2693:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test9.c:255:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:336:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:423:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:433:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:597:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:684:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:694:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:868:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:955:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:965:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1127:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1214:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1224:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1391:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1472:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1482:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1638:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1812:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1830:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1846:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1853:20: style: Variable 'pubmsg.payloadlen' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1854:13: style: Variable 'pubmsg.qos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1855:18: style: Variable 'pubmsg.retained' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1881:14: style: Variable 'qoss' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1885:17: style: Variable 'opts.onSuccess' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1886:15: style: Variable 'opts.context' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:1899:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2083:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2132:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2133:6: style: Unused variable: rc [unusedVariable] paho.mqtt.c-1.3.9/test/test9.c:2143:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2146:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2322:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2332:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2335:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2444:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2497:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2498:6: style: Unused variable: rc [unusedVariable] paho.mqtt.c-1.3.9/test/test9.c:2508:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test9.c:2511:24: style: Variable 'wopts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:106:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:114:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:458:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:592:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:610:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:240:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test_mqtt4async.c:610:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test_mqtt4async.c:420:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:499:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:500:33: style: Variable 'opts' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:501:6: style: Unused variable: rc [unusedVariable] paho.mqtt.c-1.3.9/test/test_mqtt4async.c:554:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_mqtt4sync.c:106:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test_mqtt4sync.c:114:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test_mqtt4sync.c:480:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test_mqtt4sync.c:240:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test_mqtt4sync.c:480:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test_mqtt4sync.c:295:8: style: Variable 'test_topic' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_persistence.c:116:2: style: Obsolescent function 'ftime' called. It is recommended to use 'time', 'gettimeofday' or 'clock_gettime' instead. [prohibitedftimeCalled] paho.mqtt.c-1.3.9/test/test_persistence.c:117:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] paho.mqtt.c-1.3.9/test/test_persistence.c:136:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] paho.mqtt.c-1.3.9/test/test_persistence.c:545:2: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_uint] paho.mqtt.c-1.3.9/test/test_persistence.c:451:20: style: Variable 'opts.cleansession' is reassigned a value before the old one has been used. [redundantAssignment] paho.mqtt.c-1.3.9/test/test_persistence.c:408:20: note: opts.cleansession is assigned paho.mqtt.c-1.3.9/test/test_persistence.c:451:20: note: opts.cleansession is overwritten paho.mqtt.c-1.3.9/test/test_persistence.c:541:8: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test_persistence.c:197:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test_persistence.c:541:8: note: Shadow variable paho.mqtt.c-1.3.9/test/test_persistence.c:297:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_persistence.c:315:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_persistence.c:331:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_persistence.c:338:20: style: Variable 'pubmsg.payloadlen' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_persistence.c:339:13: style: Variable 'pubmsg.qos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_persistence.c:340:18: style: Variable 'pubmsg.retained' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/test_persistence.c:349:6: style: Variable 'subsqos' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test_package/test_package.c:52:33: style: Variable 'conn_opts.keepAliveInterval' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test_package/test_package.c:53:28: style: Variable 'conn_opts.cleansession' is assigned a value that is never used. [unreadVariable] paho.mqtt.c-1.3.9/test/thread.c:108:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] paho.mqtt.c-1.3.9/test/thread.c:413:2: style: Label 'exit' is not used. [unusedLabel] paho.mqtt.c-1.3.9/test/thread.c:494:9: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/thread.c:186:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/thread.c:494:9: note: Shadow variable paho.mqtt.c-1.3.9/test/test_sync_session_present.c:105:29: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test_sync_session_present.c:113:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] paho.mqtt.c-1.3.9/test/test_sync_session_present.c:466:11: style: Local variable 'tests' shadows outer variable [shadowVariable] paho.mqtt.c-1.3.9/test/test_sync_session_present.c:291:5: note: Shadowed declaration paho.mqtt.c-1.3.9/test/test_sync_session_present.c:466:11: note: Shadow variable paho.mqtt.c-1.3.9/test/test_sync_session_present.c:362:18: style: Variable 'c' is assigned a value that is never used. [unreadVariable] diff: head paho.mqtt.c-1.3.9/src/Log.c:456:126: style: Parameter 'rc' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/Log.c:456:126: style: Parameter 'rc' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/MQTTClient.c:2260:42: style: Parameter 'properties' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/MQTTClient.c:2260:42: style: Parameter 'properties' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/MQTTPacket.c:380:44: style: Parameter 'enddata' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/MQTTPacket.c:380:44: style: Parameter 'enddata' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/MQTTPacket.c:978:68: style: Parameter 'enddata' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/MQTTPacket.c:978:68: style: Parameter 'enddata' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/Socket.c:244:58: style: Parameter 'tp' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/Socket.c:244:58: style: Parameter 'tp' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/SocketBuffer.c:349:61: style: Parameter 'iovecs' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/SocketBuffer.c:349:61: style: Parameter 'iovecs' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/SocketBuffer.c:349:74: style: Parameter 'frees' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/SocketBuffer.c:349:74: style: Parameter 'frees' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/Tree.c:545:26: style: Parameter 'a' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/Tree.c:545:26: style: Parameter 'a' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/Tree.c:545:35: style: Parameter 'b' can be declared as pointer to const [constParameter] 2.8 paho.mqtt.c-1.3.9/src/Tree.c:545:35: style: Parameter 'b' can be declared with const [constParameter] head paho.mqtt.c-1.3.9/src/WebSocket.c:1024:13: style: Variable 'mask' can be declared as const array [constVariable] 2.8 paho.mqtt.c-1.3.9/src/WebSocket.c:1024:13: style: Variable 'mask' can be declared with const [constVariable] 2.8 paho.mqtt.c-1.3.9/test/test10.c:1335:3: error: Uninitialized variable: prop [uninitvar] paho.mqtt.c-1.3.9/test/test10.c:1332:33: note: Assuming condition is false paho.mqtt.c-1.3.9/test/test10.c:1335:3: note: Uninitialized variable: prop head paho.mqtt.c-1.3.9/test/test10.c:1335:3: warning: Uninitialized variable: prop [uninitvar] paho.mqtt.c-1.3.9/test/test10.c:1332:33: note: Assuming condition is false paho.mqtt.c-1.3.9/test/test10.c:1335:3: note: Uninitialized variable: prop DONE