2022-06-23 19:49 ftp://ftp.de.debian.org/debian/pool/main/m/muroard/muroard_0.1.14.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 60c1eef (2022-06-23 20:26:47 +0200) count: 7 6 elapsed-time: 2.1 2.7 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: muroard-0.1.14/driver_wmm.c:56:12: style: struct member 'Anonymous2::idx' is never used. [unusedStructMember] muroard-0.1.14/driver_wmm.c:175:11: style: Variable 'mmres' is assigned a value that is never used. [unreadVariable] muroard-0.1.14/network.c:157:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] muroard-0.1.14/proto.c:64:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] muroard-0.1.14/streams.c:396:3: portability: '(void*)stream->iobuf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] muroard-0.1.14/waveform.c:144:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] muroard-0.1.14/waveform.c:39:28: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] diff: head muroard-0.1.14/waveform.c:39:28: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] DONE