2022-06-24 23:53 ftp://ftp.de.debian.org/debian/pool/main/r/roaraudio/roaraudio_1.0~beta12.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: 11860cc (2022-06-24 13:55:04 +0200) count: 299 301 elapsed-time: 10.1 12.7 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: roaraudio-1.0beta12/libroar/acl.c:38:79: style: Parameter 'addr' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/asyncctl.c:61:5: portability: 'vp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/asyncctl.c:73:12: portability: 'vp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/asyncctl.c:96:5: portability: 'vp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/authfile.c:121:47: style: Parameter 'authfile' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/authfile.c:129:49: style: Parameter 'authfile' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/authfile.c:170:35: portability: '(const void*)ret' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/authfile.c:174:25: portability: '(void*)ret' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/authfile.c:174:60: portability: '(void*)ret+sizeof(struct roar_authfile_key)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/auth.c:346:6: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] roaraudio-1.0beta12/libroar/auth.c:304:6: style: Variable 'ltt' can be declared as const array [constVariable] roaraudio-1.0beta12/libroar/auth.c:394:21: portability: 'ibuf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:180:10: style: Same expression on both sides of '-='. [duplicateExpression] roaraudio-1.0beta12/libroar/base64.c:117:7: portability: 'in' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:120:8: portability: 'out' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:135:7: portability: 'out' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:136:7: portability: 'in' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:155:12: portability: 'out' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:156:12: portability: 'in' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:167:12: portability: 'out' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:168:12: portability: 'in' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:179:7: portability: 'in' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/base64.c:154:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/base64.c:156:12: style: Variable 'in' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/base64.c:158:15: style: Variable 'inlen' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/base64.c:166:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/base64.c:168:12: style: Variable 'in' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/base64.c:170:15: style: Variable 'inlen' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/base64.c:179:7: style: Variable 'in' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/base64.c:180:10: style: Variable 'inlen' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/basic.c:839:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] roaraudio-1.0beta12/libroar/basic.c:377:16: style: Variable 'user_sock[i]' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/basic.c:427:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/basic.c:430:18: style: Unused variable: pwd [unusedVariable] roaraudio-1.0beta12/libroar/buffer.c:400:17: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:439:9: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:450:9: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:565:27: portability: 'newbuf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:699:31: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:707:31: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:723:31: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:738:31: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:751:41: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:800:25: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:808:25: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:829:25: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:839:42: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/buffer.c:864:25: portability: 'buf->user_data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/error.c:136:21: warning:inconclusive: Either the condition 'mes==NULL' is redundant or there is possible null pointer dereference: mes. [nullPointerRedundantCheck] roaraudio-1.0beta12/libroar/error.c:138:11: note: Assuming that condition 'mes==NULL' is not redundant roaraudio-1.0beta12/libroar/error.c:136:21: note: Null pointer dereference roaraudio-1.0beta12/libroar/error.c:141:22: warning:inconclusive: Either the condition 'mes==NULL' is redundant or there is possible null pointer dereference: mes. [nullPointerRedundantCheck] roaraudio-1.0beta12/libroar/error.c:138:11: note: Assuming that condition 'mes==NULL' is not redundant roaraudio-1.0beta12/libroar/error.c:141:22: note: Null pointer dereference roaraudio-1.0beta12/libroar/ctl.c:358:55: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/ctl.c:582:8: style: Variable 'cur' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash.c:262:28: portability: 'digest' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash.c:264:28: portability: 'digest' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash.c:266:28: portability: 'digest' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash.c:268:28: portability: 'digest' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash.c:270:28: portability: 'digest' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash.c:278:28: portability: 'digest' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash.c:280:28: portability: 'digest' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash.c:282:28: portability: 'digest' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash_tiger.c:867:8: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash_tiger.c:882:8: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash_tiger.c:742:4: style: Variable 'a' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_tiger.c:742:8: style: Variable 'b' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_tiger.c:742:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_tiger.c:828:17: style: Variable 'aa' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_tiger.c:828:22: style: Variable 'bb' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_tiger.c:828:27: style: Variable 'cc' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/libroar.c:375:2: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] roaraudio-1.0beta12/libroar/libroar.c:291:13: style: Variable 'subsets' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/libroar.c:295:13: style: Variable 'subsets' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/libroar.c:299:14: style: Variable 'subsets' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/config.c:662:2: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] roaraudio-1.0beta12/libroar/ltm.c:61:36: style: Parameter 'streams' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/nnode.c:273:31: style: Variable 'nnode->addr.decnet.node' is reassigned a value before the old one has been used. [redundantAssignment] roaraudio-1.0beta12/libroar/nnode.c:272:31: note: nnode->addr.decnet.node is assigned roaraudio-1.0beta12/libroar/nnode.c:273:31: note: nnode->addr.decnet.node is overwritten roaraudio-1.0beta12/libroar/nnode.c:171:48: style: Parameter 'nnode' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/nnode.c:264:35: portability: 'blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/nnode.c:282:35: portability: 'blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/nnode.c:318:16: portability: 'blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/nnode.c:336:16: portability: 'blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/notify.c:361:6: warning: Either the condition 'blob==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] roaraudio-1.0beta12/libroar/notify.c:364:29: note: Assuming that condition 'blob==NULL' is not redundant roaraudio-1.0beta12/libroar/notify.c:358:17: note: u16 is assigned 'blob' here. roaraudio-1.0beta12/libroar/notify.c:361:6: note: Null pointer addition roaraudio-1.0beta12/libroar/notify.c:436:6: warning: Either the condition 'blob==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] roaraudio-1.0beta12/libroar/notify.c:439:29: note: Assuming that condition 'blob==NULL' is not redundant roaraudio-1.0beta12/libroar/notify.c:433:17: note: u16 is assigned 'blob' here. roaraudio-1.0beta12/libroar/notify.c:436:6: note: Null pointer addition roaraudio-1.0beta12/libroar/notify.c:423:14: portability: 'blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/notify.c:423:27: portability: 'blob+needed_len' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/notify.c:528:22: portability: 'blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/plugincontainer.c:451:102: style: Parameter 'lhandle' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/random.c:97:23: portability: 'off' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/random.c:126:8: portability: 'off' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/random.c:140:10: portability: 'buffer' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/proto.c:121:14: style: The comparison 'crclen != 0' is always false. [knownConditionTrueFalse] roaraudio-1.0beta12/libroar/proto.c:64:21: note: 'crclen' is assigned value '0' here. roaraudio-1.0beta12/libroar/proto.c:121:14: note: The comparison 'crclen != 0' is always false. roaraudio-1.0beta12/libroar/proto.c:85:25: style: Variable 'buf[2]' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/serverinfo.c:254:86: warning:inconclusive: Either the condition 'mes==NULL' is redundant or there is possible null pointer dereference: mes. [nullPointerRedundantCheck] roaraudio-1.0beta12/libroar/serverinfo.c:256:11: note: Assuming that condition 'mes==NULL' is not redundant roaraudio-1.0beta12/libroar/serverinfo.c:254:86: note: Null pointer dereference roaraudio-1.0beta12/libroar/socket.c:363:39: style: Condition '(*len=recvmsg(sock,&msg,0))==-1' is always false [knownConditionTrueFalse] roaraudio-1.0beta12/libroar/socket.c:533:84: style: Variable 'mode_func' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/socket.c:563:13: style: Variable 'mode_func' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/socket.c:496:6: style: Variable 'fh' is not assigned a value. [unassignedVariable] roaraudio-1.0beta12/libroar/time.c:189:5: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] roaraudio-1.0beta12/libroar/roardl.c:1072:74: style: Parameter 'lhandle' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/hash_sha1.c:245:8: portability: 'data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash_sha1.c:254:8: portability: 'data' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/hash_sha1.c:44:10: style: union member 'uint864uint3216::c' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/hash_sha1.c:205:4: style: Variable 'a' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_sha1.c:205:8: style: Variable 'b' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_sha1.c:205:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_sha1.c:205:16: style: Variable 'd' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_sha1.c:205:20: style: Variable 'e' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/hash_sha1.c:149:10: style: Variable 'workspace' is not assigned a value. [unassignedVariable] roaraudio-1.0beta12/libroar/vio.c:663:54: style: Parameter 'vio' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vio.c:663:65: style: Parameter 'buf' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vio.c:793:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio.c:823:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/stream.c:307:87: style: Parameter 'clientsetup' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vio_jumbo.c:115:15: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio_buffer.c:130:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] roaraudio-1.0beta12/libroar/vio_buffer.c:141:20: style: Condition 'count>havelen' is always true [knownConditionTrueFalse] roaraudio-1.0beta12/libroar/vio_buffer.c:121:20: note: Assuming that condition 'count==havelen' is not redundant roaraudio-1.0beta12/libroar/vio_buffer.c:141:20: note: Condition 'count>havelen' is always true roaraudio-1.0beta12/libroar/vio_buffer.c:234:24: style: Condition 'newoff>self->len_old' is always true [knownConditionTrueFalse] roaraudio-1.0beta12/libroar/vio_buffer.c:225:17: note: Assuming that condition 'newoff==self->len_old' is not redundant roaraudio-1.0beta12/libroar/vio_buffer.c:234:24: note: Condition 'newoff>self->len_old' is always true roaraudio-1.0beta12/libroar/vio_buffer.c:159:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] roaraudio-1.0beta12/libroar/vio_buffer.c:162:4: note: Found duplicate branches for 'if' and 'else'. roaraudio-1.0beta12/libroar/vio_buffer.c:159:2: note: Found duplicate branches for 'if' and 'else'. roaraudio-1.0beta12/libroar/vio_buffer.c:200:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] roaraudio-1.0beta12/libroar/vio_buffer.c:203:4: note: Found duplicate branches for 'if' and 'else'. roaraudio-1.0beta12/libroar/vio_buffer.c:200:2: note: Found duplicate branches for 'if' and 'else'. roaraudio-1.0beta12/libroar/vio_buffer.c:130:10: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio_buffer.c:130:10: style: Variable 'buf' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/vio_buffer.c:131:10: style: Variable 'count' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/vio_pipe.c:146:25: style: Unused variable: idx [unusedVariable] roaraudio-1.0beta12/libroar/vio_cmd.c:544:57: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] roaraudio-1.0beta12/libroar/vio_cmd.c:384:29: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio_cmd.c:511:31: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio_cmd.c:522:28: style: Variable 'in' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/vio_rtp.c:325:32: warning:inconclusive: Either the condition 'vio==NULL' is redundant or there is possible null pointer dereference: vio. [nullPointerRedundantCheck] roaraudio-1.0beta12/libroar/vio_rtp.c:332:10: note: Assuming that condition 'vio==NULL' is not redundant roaraudio-1.0beta12/libroar/vio_rtp.c:325:32: note: Null pointer dereference roaraudio-1.0beta12/libroar/vio_rtp.c:309:11: style: Variable 'len_have' is reassigned a value before the old one has been used. [redundantAssignment] roaraudio-1.0beta12/libroar/vio_rtp.c:262:12: note: len_have is assigned roaraudio-1.0beta12/libroar/vio_rtp.c:309:11: note: len_have is overwritten roaraudio-1.0beta12/libroar/vio_rtp.c:168:15: style: The comparison 'have != 0' is always false. [knownConditionTrueFalse] roaraudio-1.0beta12/libroar/vio_rtp.c:131:17: note: 'have' is assigned value '0' here. roaraudio-1.0beta12/libroar/vio_rtp.c:168:15: note: The comparison 'have != 0' is always false. roaraudio-1.0beta12/libroar/vio_rtp.c:204:10: portability: 'data.vp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio_rtp.c:251:13: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio_rtp.c:302:17: portability: 'data.vp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio_rtp.c:157:12: style: Variable 'len_have' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/vio_stdio.c:61:57: style: Parameter 'calls' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vio_stdio.c:152:57: style: Parameter 'vio' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vio_string.c:81:13: style: Variable 'offs' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroar/vio_dstr.c:558:63: style: Parameter 'chain' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vio_dstr.c:44:9: style: struct member '_roar_vio_dstr_type::pdeftype' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vio_proto.c:341:86: style: Parameter 'endofheader' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vio_proto.c:225:10: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroar/vio_proto.c:416:4: style: Variable 'p' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroardsp/amp.c:37:53: style: Parameter 'input' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/amp.c:63:53: style: Parameter 'input' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/dtmf.c:249:2: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] roaraudio-1.0beta12/libroardsp/filter_downmix.c:34:11: style: union member 'Anonymous0::i64' is never used. [unusedStructMember] roaraudio-1.0beta12/libroardsp/convert.c:733:6: style: Redundant initialization for 'nin'. The initialized value is overwritten before it is read. [redundantInitialization] roaraudio-1.0beta12/libroardsp/convert.c:726:13: note: nin is initialized roaraudio-1.0beta12/libroardsp/convert.c:733:6: note: nin is overwritten roaraudio-1.0beta12/libroardsp/convert.c:733:6: style: Variable 'nin' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroardsp/convert.c:1038:7: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroardsp/convert.c:1206:7: style: Variable 'cin' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/libroardsp/poly.c:51:49: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/poly.c:67:49: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/poly.c:83:49: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/poly.c:129:37: style: Parameter 'poly' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/rms.c:161:55: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] roaraudio-1.0beta12/libroardsp/rms.c:176:56: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] roaraudio-1.0beta12/libroardsp/rms.c:191:56: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] roaraudio-1.0beta12/libroardsp/rms.c:28:35: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/rms.c:40:35: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/rms.c:52:35: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/rms.c:65:35: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/rms.c:94:35: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/rms.c:123:35: style: Parameter 'data' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:52:96: style: Parameter 'state' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:52:50: style: Parameter 'subs' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:85:96: style: Parameter 'state' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:85:50: style: Parameter 'subs' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:118:96: style: Parameter 'state' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:118:50: style: Parameter 'subs' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:164:95: style: Parameter 'state' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:164:51: style: Parameter 'in' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:197:95: style: Parameter 'state' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:197:51: style: Parameter 'in' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:230:95: style: Parameter 'state' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/remove.c:230:51: style: Parameter 'in' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroardsp/transcode.c:191:8: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroardsp/transcode.c:298:8: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/libroarlight/colors.c:131:11: style: Condition 'len>=1' is always true [knownConditionTrueFalse] roaraudio-1.0beta12/libroarlight/colors.c:127:39: note: Assuming that condition 'len==0' is not redundant roaraudio-1.0beta12/libroarlight/colors.c:131:11: note: Condition 'len>=1' is always true roaraudio-1.0beta12/libroaresd/esdctl.c:260:85: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] roaraudio-1.0beta12/libroarpulse/context.c:77:100: style: Parameter 'proplist' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroarpulse/libroarpulseinfo.c:47:17: portability: Undefined behaviour, pointer arithmetic 'types-1' is out of bounds. [pointerOutOfBounds] roaraudio-1.0beta12/libroarpulse/util.c:83:12: style: Condition 'user==NULL' is always true [knownConditionTrueFalse] roaraudio-1.0beta12/libroarpulse/util.c:75:22: note: Assignment 'user=NULL', assigned value is 0 roaraudio-1.0beta12/libroarpulse/util.c:77:9: note: Assuming condition is false roaraudio-1.0beta12/libroarpulse/util.c:83:12: note: Condition 'user==NULL' is always true roaraudio-1.0beta12/plugins/alsavs/ctl_roar.c:105:24: error: Array 'self->streams[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] roaraudio-1.0beta12/plugins/alsavs/ctl_roar.c:100:2: note: After for loop, i has value 16 roaraudio-1.0beta12/plugins/alsavs/ctl_roar.c:105:24: note: Array index out of bounds roaraudio-1.0beta12/plugins/alsavs/ctl_roar.c:166:65: error: Array 'self->streams[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] roaraudio-1.0beta12/plugins/alsavs/ctl_roar.c:153:2: note: After for loop, sid has value 16 roaraudio-1.0beta12/plugins/alsavs/ctl_roar.c:166:65: note: Array index out of bounds roaraudio-1.0beta12/plugins/alsa/pcm_roar.c:385:5: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] roaraudio-1.0beta12/plugins/alsavs/pcm_roar.c:393:5: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] roaraudio-1.0beta12/plugins/audacious/roar.c:234:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] roaraudio-1.0beta12/plugins/audacious/roar.c:99:21: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/mplayer/ao_roar.c:149:9: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/mplayer/ao_roar.c:210:9: style: Variable 'r' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/plugins/gstreamer0.10/roarsink.c:165:26: style: Variable 'gstbaseaudiosink_class' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/plugins/roard/dmx-waveform.c:87:13: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/gstreamer0.10/roarmixer.c:215:81: style: Parameter 'roartrack' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/plugins/gstreamer0.10/roarmixer.c:283:57: style: Parameter 'volumes' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vs.c:1068:30: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] roaraudio-1.0beta12/libroar/vs.c:1084:53: style: Parameter 'c' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/libroar/vs.c:64:6: style: struct member 'roar_vs::flags' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:66:27: style: struct member 'roar_vs::con' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:70:27: style: struct member 'roar_vs::vio_ptr' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:72:27: style: struct member 'roar_vs::readc' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:72:34: style: struct member 'roar_vs::writec' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:73:27: style: struct member 'roar_vs::mixerid' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:74:27: style: struct member 'roar_vs::first_primid' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:75:27: style: struct member 'roar_vs::readbuffer' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:75:41: style: struct member 'roar_vs::writebuffer' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:77:27: style: struct member 'roar_vs::file' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:78:27: style: struct member 'roar_vs::readring' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:78:39: style: struct member 'roar_vs::writering' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:91:4: style: struct member 'roar_vs::latmes' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:100:4: style: struct member 'roar_vs::async' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:88:11: style: struct member 'Anonymous0::last_pos' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:89:11: style: struct member 'Anonymous0::last_offset' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:93:10: style: struct member 'Anonymous1::level' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:94:10: style: struct member 'Anonymous1::lock' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:95:10: style: struct member 'Anonymous1::qlen' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:96:7: style: struct member 'Anonymous1::qcmd' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:97:7: style: struct member 'Anonymous1::qsubcmd' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:98:7: style: struct member 'Anonymous1::read_latency' is never used. [unusedStructMember] roaraudio-1.0beta12/libroar/vs.c:99:7: style: struct member 'Anonymous1::last_backend' is never used. [unusedStructMember] roaraudio-1.0beta12/plugins/roard/protocol-gopher.c:647:13: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/roard/protocol-gopher.c:68:6: style: struct member 'item::dir' is never used. [unusedStructMember] roaraudio-1.0beta12/plugins/roard/protocol-gopher.c:568:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/plugins/roard/protocol-irc.c:235:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/plugins/roard/protocol-rplay.c:33:15: style: struct member 'emul_rplay_command::min_args' is never used. [unusedStructMember] roaraudio-1.0beta12/plugins/roard/protocol-rplay.c:34:15: style: struct member 'emul_rplay_command::max_args' is never used. [unusedStructMember] roaraudio-1.0beta12/plugins/universal/filter-slfi-channel2event.c:87:61: style: Parameter 'universe' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/plugins/universal/protocol-daytime.c:33:16: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] roaraudio-1.0beta12/plugins/universal/protocol-daytime.c:33:24: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] roaraudio-1.0beta12/roarclients/pinentrytest.c:35:75: error: Uninitialized variable: pw [uninitvar] roaraudio-1.0beta12/plugins/xmms/gui.c:63:14: style: Unused variable: input_server_type [unusedVariable] roaraudio-1.0beta12/plugins/xmms/gui.c:72:14: style: Unused variable: input_proxy_type [unusedVariable] roaraudio-1.0beta12/plugins/xmms/gui.c:85:14: style: Unused variable: input_meta_send_title [unusedVariable] roaraudio-1.0beta12/plugins/xmms/gui.c:86:14: style: Unused variable: input_meta_send_filename [unusedVariable] roaraudio-1.0beta12/plugins/universal/filter-slfi-fade.c:91:46: style: Parameter 'chan' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/plugins/xmms/roar.c:90:21: portability: 'ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/universal/protocol-http.c:740:23: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/universal/protocol-http.c:742:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/universal/protocol-http.c:752:24: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/universal/protocol-http.c:754:25: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/universal/protocol-http.c:1087:7: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/plugins/universal/protocol-http.c:46:6: style: struct member 'input_source::userdata_si' is never used. [unusedStructMember] roaraudio-1.0beta12/plugins/universal/protocol-http.c:47:9: style: struct member 'input_source::userdata_vp' is never used. [unusedStructMember] roaraudio-1.0beta12/plugins/universal/protocol-http.c:48:10: style: struct member 'input_source::offset' is never used. [unusedStructMember] roaraudio-1.0beta12/roarclients/roarclientpass.c:218:2: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] roaraudio-1.0beta12/roarclients/roarclientpass.c:224:4: note: Found duplicate branches for 'if' and 'else'. roaraudio-1.0beta12/roarclients/roarclientpass.c:218:2: note: Found duplicate branches for 'if' and 'else'. roaraudio-1.0beta12/roarclients/roarclientpass.c:286:53: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] roaraudio-1.0beta12/roarclients/roarfilt.c:91:50: portability: Undefined behaviour, pointer arithmetic 'filter_real-1' is out of bounds. [pointerOutOfBounds] roaraudio-1.0beta12/roarclients/roarradio.c:111:8: style: Variable 'file' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roarclients/roarpluginrunner.c:400:2: warning: Either the condition 'para==NULL' is redundant or there is possible null pointer dereference: para. [nullPointerRedundantCheck] roaraudio-1.0beta12/roarclients/roarpluginrunner.c:401:12: note: Assuming that condition 'para==NULL' is not redundant roaraudio-1.0beta12/roarclients/roarpluginrunner.c:400:2: note: Null pointer dereference roaraudio-1.0beta12/roarclients/roarpluginrunner.c:177:43: portability: 'p' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roarclients/roarpluginrunner.c:186:41: style: Variable 'libdepok' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roarclients/roartypes.c:57:17: portability: Undefined behaviour, pointer arithmetic 'types-1' is out of bounds. [pointerOutOfBounds] roaraudio-1.0beta12/roarclients/roarvio.c:125:18: style: Variable 'need_space2' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roarclients/roarvio.c:139:16: style: Variable 'need_space' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roarclients/roarphone.c:279:42: style: Parameter 'aebuf' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/roarclients/roarphone.c:338:18: portability: 'outbuf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roarclients/roarphone.c:93:8: style: struct member 'Anonymous6::key' is never used. [unusedStructMember] roaraudio-1.0beta12/roarclients/roarphone.c:169:11: style: Variable 'fh' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/clients.c:760:76: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] roaraudio-1.0beta12/roard/clients.c:737:19: style: Variable 'command_error' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/codecfilter_wave.c:228:16: portability: 'header' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/codecfilter_wave.c:243:16: portability: 'header' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/codecfilter_wave.c:244:16: portability: 'header' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/codecfilter_wave.c:245:16: portability: 'header' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/codecfilter_wave.c:248:16: portability: 'header' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/codecfilter_wave.c:250:16: portability: 'header' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/codecfilter_wave.c:251:16: portability: 'header' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/driver.c:164:50: style: Redundant condition: g_driver[i].open==NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] roaraudio-1.0beta12/roard/driver.c:173:50: style: Redundant condition: g_driver[i].open==NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] roaraudio-1.0beta12/roard/driver.c:182:50: style: Redundant condition: g_driver[i].open==NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] roaraudio-1.0beta12/roard/driver.c:190:50: style: Redundant condition: g_driver[i].open==NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] roaraudio-1.0beta12/roard/driver_dmx.c:100:44: style: Parameter 'vio' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/roard/rdtcs.c:73:31: style: Parameter 'pty' can be declared as pointer to const [constParameter] roaraudio-1.0beta12/roard/rdtcs.c:121:4: style: Variable 's' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/midi.c:109:22: style: Condition 'midi_cb_free()==-1' is always true [knownConditionTrueFalse] roaraudio-1.0beta12/roard/req.c:1922:5: portability: 'vp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/req.c:1944:8: portability: 'vp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/req.c:392:12: style: Variable 'r' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/req.c:514:24: style: Variable 'transport_protocol' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/ssynth.c:41:17: style: struct member 'Anonymous0::vv_up' is never used. [unusedStructMember] roaraudio-1.0beta12/roard/roard.c:1017:14: style: Expression is always false because 'else if' condition matches previous condition at line 1015. [multiCondition] roaraudio-1.0beta12/roard/roard.c:2348:15: style: The comparison 'af_mode != AF_MODE_NONE' is always false because 'af_mode' and 'AF_MODE_NONE' represent the same value. [knownConditionTrueFalse] roaraudio-1.0beta12/roard/roard.c:1400:42: note: 'af_mode' is assigned value 'AF_MODE_NONE' here. roaraudio-1.0beta12/roard/roard.c:2348:15: note: The comparison 'af_mode != AF_MODE_NONE' is always false because 'af_mode' and 'AF_MODE_NONE' represent the same value. roaraudio-1.0beta12/roard/roard.c:1408:9: style: Variable 'sock_grp' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/roard.c:1410:9: style: Variable 'sock_user' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/roard.c:2687:6: style: Unused variable: i [unusedVariable] roaraudio-1.0beta12/roard/streams.c:1196:32: style: Redundant condition: !g_streams[id]->ready. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] roaraudio-1.0beta12/roard/streams.c:573:16: style: Condition 'old_role!=role' is always true [knownConditionTrueFalse] roaraudio-1.0beta12/roard/streams.c:1349:37: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] roaraudio-1.0beta12/roard/streams.c:1933:18: portability: 'outdata' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/streams.c:2326:41: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/streams.c:2712:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] roaraudio-1.0beta12/roard/streams.c:762:11: style: Variable 'parent_s' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/streams.c:1145:9: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/streams.c:1305:9: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] roaraudio-1.0beta12/roard/output.c:360:38: style: Condition 'strcmp(k,"recsource")==0' is always false [knownConditionTrueFalse] roaraudio-1.0beta12/roarclients/roarctl.c:973:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] roaraudio-1.0beta12/roarclients/roarctl.c:974:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] roaraudio-1.0beta12/roarclients/roarctl.c:1095:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] roaraudio-1.0beta12/roarclients/roarctl.c:1134:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] roaraudio-1.0beta12/roarclients/roarctl.c:294:8: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] roaraudio-1.0beta12/roarclients/roarctl.c:1208:11: style: Variable 't' is assigned a value that is never used. [unreadVariable] diff: head roaraudio-1.0beta12/libroar/acl.c:38:79: style: Parameter 'addr' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/acl.c:38:79: style: Parameter 'addr' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/auth.c:304:6: style: Variable 'ltt' can be declared as const array [constVariable] 2.8 roaraudio-1.0beta12/libroar/auth.c:304:6: style: Variable 'ltt' can be declared with const [constVariable] head roaraudio-1.0beta12/libroar/authfile.c:121:47: style: Parameter 'authfile' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/authfile.c:121:47: style: Parameter 'authfile' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/authfile.c:129:49: style: Parameter 'authfile' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/authfile.c:129:49: style: Parameter 'authfile' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/ctl.c:358:55: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/ctl.c:358:55: style: Parameter 'data' can be declared with const [constParameter] 2.8 roaraudio-1.0beta12/libroar/libroar.c:134:7: style: Condition 'eneg' is always false [knownConditionTrueFalse] roaraudio-1.0beta12/libroar/libroar.c:105:23: note: Assignment 'eneg=0', assigned value is 0 roaraudio-1.0beta12/libroar/libroar.c:134:7: note: Condition 'eneg' is always false head roaraudio-1.0beta12/libroar/ltm.c:61:36: style: Parameter 'streams' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/ltm.c:61:36: style: Parameter 'streams' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/nnode.c:171:48: style: Parameter 'nnode' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/nnode.c:171:48: style: Parameter 'nnode' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/plugincontainer.c:451:102: style: Parameter 'lhandle' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/plugincontainer.c:451:102: style: Parameter 'lhandle' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/roardl.c:1072:74: style: Parameter 'lhandle' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/roardl.c:1072:74: style: Parameter 'lhandle' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/stream.c:307:87: style: Parameter 'clientsetup' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/stream.c:307:87: style: Parameter 'clientsetup' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/vio.c:663:54: style: Parameter 'vio' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/vio.c:663:54: style: Parameter 'vio' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/vio.c:663:65: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/vio.c:663:65: style: Parameter 'buf' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/vio_dstr.c:558:63: style: Parameter 'chain' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/vio_dstr.c:558:63: style: Parameter 'chain' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/vio_proto.c:341:86: style: Parameter 'endofheader' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/vio_proto.c:341:86: style: Parameter 'endofheader' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/vio_stdio.c:152:57: style: Parameter 'vio' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/vio_stdio.c:152:57: style: Parameter 'vio' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/vio_stdio.c:61:57: style: Parameter 'calls' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/vio_stdio.c:61:57: style: Parameter 'calls' can be declared with const [constParameter] head roaraudio-1.0beta12/libroar/vs.c:1084:53: style: Parameter 'c' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroar/vs.c:1084:53: style: Parameter 'c' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/amp.c:37:53: style: Parameter 'input' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/amp.c:37:53: style: Parameter 'input' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/amp.c:63:53: style: Parameter 'input' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/amp.c:63:53: style: Parameter 'input' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/poly.c:129:37: style: Parameter 'poly' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/poly.c:129:37: style: Parameter 'poly' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/poly.c:51:49: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/poly.c:51:49: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/poly.c:67:49: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/poly.c:67:49: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/poly.c:83:49: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/poly.c:83:49: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:118:50: style: Parameter 'subs' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:118:50: style: Parameter 'subs' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:118:96: style: Parameter 'state' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:118:96: style: Parameter 'state' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:164:51: style: Parameter 'in' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:164:51: style: Parameter 'in' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:164:95: style: Parameter 'state' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:164:95: style: Parameter 'state' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:197:51: style: Parameter 'in' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:197:51: style: Parameter 'in' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:197:95: style: Parameter 'state' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:197:95: style: Parameter 'state' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:230:51: style: Parameter 'in' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:230:51: style: Parameter 'in' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:230:95: style: Parameter 'state' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:230:95: style: Parameter 'state' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:52:50: style: Parameter 'subs' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:52:50: style: Parameter 'subs' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:52:96: style: Parameter 'state' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:52:96: style: Parameter 'state' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:85:50: style: Parameter 'subs' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:85:50: style: Parameter 'subs' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/remove.c:85:96: style: Parameter 'state' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/remove.c:85:96: style: Parameter 'state' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/rms.c:123:35: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/rms.c:123:35: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/rms.c:28:35: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/rms.c:28:35: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/rms.c:40:35: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/rms.c:40:35: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/rms.c:52:35: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/rms.c:52:35: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/rms.c:65:35: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/rms.c:65:35: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroardsp/rms.c:94:35: style: Parameter 'data' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroardsp/rms.c:94:35: style: Parameter 'data' can be declared with const [constParameter] head roaraudio-1.0beta12/libroarpulse/context.c:77:100: style: Parameter 'proplist' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/libroarpulse/context.c:77:100: style: Parameter 'proplist' can be declared with const [constParameter] head roaraudio-1.0beta12/plugins/gstreamer0.10/roarmixer.c:215:81: style: Parameter 'roartrack' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/plugins/gstreamer0.10/roarmixer.c:215:81: style: Parameter 'roartrack' can be declared with const [constParameter] head roaraudio-1.0beta12/plugins/gstreamer0.10/roarmixer.c:283:57: style: Parameter 'volumes' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/plugins/gstreamer0.10/roarmixer.c:283:57: style: Parameter 'volumes' can be declared with const [constParameter] head roaraudio-1.0beta12/plugins/universal/filter-slfi-channel2event.c:87:61: style: Parameter 'universe' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/plugins/universal/filter-slfi-channel2event.c:87:61: style: Parameter 'universe' can be declared with const [constParameter] head roaraudio-1.0beta12/plugins/universal/filter-slfi-fade.c:91:46: style: Parameter 'chan' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/plugins/universal/filter-slfi-fade.c:91:46: style: Parameter 'chan' can be declared with const [constParameter] head roaraudio-1.0beta12/roarclients/roarphone.c:279:42: style: Parameter 'aebuf' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/roarclients/roarphone.c:279:42: style: Parameter 'aebuf' can be declared with const [constParameter] 2.8 roaraudio-1.0beta12/roard/auth.c:255:7: style: Condition '!err' is always true [knownConditionTrueFalse] roaraudio-1.0beta12/roard/auth.c:247:2: note: Assuming that condition 'err' is not redundant roaraudio-1.0beta12/roard/auth.c:255:7: note: Condition '!err' is always true head roaraudio-1.0beta12/roard/driver_dmx.c:100:44: style: Parameter 'vio' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/roard/driver_dmx.c:100:44: style: Parameter 'vio' can be declared with const [constParameter] head roaraudio-1.0beta12/roard/rdtcs.c:73:31: style: Parameter 'pty' can be declared as pointer to const [constParameter] 2.8 roaraudio-1.0beta12/roard/rdtcs.c:73:31: style: Parameter 'pty' can be declared with const [constParameter] DONE