Error: COMPILER_WARNING: [#def1] gsm-1.0-pl23/src/gsm_create.c:7:25: warning[-Wunused-const-variable=]: ‘ident’ defined but not used # 7 | static char const ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $"; # | ^~~~~ # 5| */ # 6| # 7|-> static char const ident[] = "$Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/gsm_create.c,v 1.4 1996/07/02 09:59:05 jutta Exp $"; # 8| # 9| #include "config.h" Error: GCC_ANALYZER_WARNING (CWE-457): [#def2] gsm-1.0-pl23/src/lpc.c:111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*L_ACF’ gsm-1.0-pl23/src/lpc.c:326:6: enter_function: entry to ‘Gsm_LPC_Analysis’ gsm-1.0-pl23/src/lpc.c:337:9: call_function: calling ‘Autocorrelation’ from ‘Gsm_LPC_Analysis’ # 109| for (k = 9; k--; L_ACF[k] = 0) ; # 110| # 111|-> STEP (0); # 112| NEXTI; # 113| STEP(0); STEP(1); Error: COMPILER_WARNING (CWE-252): [#def3] gsm-1.0-pl23/src/toast.c: scope_hint: In function ‘update_own’ gsm-1.0-pl23/src/toast.c:346:15: warning[-Wunused-result]: ignoring return value of ‘fchown’ declared with attribute ‘warn_unused_result’ # 346 | (void)fchown(fileno(out), instat.st_uid, instat.st_gid); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 344| if (!instat.st_nlink) return; /* couldn't stat in */ # 345| #ifdef HAS_FCHOWN # 346|-> (void)fchown(fileno(out), instat.st_uid, instat.st_gid); # 347| #else # 348| #ifdef HAS_CHOWN
| analyzer-version-clippy | 1.90.0 |
| analyzer-version-cppcheck | 2.18.3 |
| analyzer-version-gcc | 15.2.1 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-194.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-gcc-latest-x86_64 |
| project-name | gsm-1.0.23-1.fc44 |
| store-results-to | /tmp/tmpjzxvi0nx/gsm-1.0.23-1.fc44.tar.xz |
| time-created | 2025-10-28 18:07:51 |
| time-finished | 2025-10-28 18:09:06 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpjzxvi0nx/gsm-1.0.23-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpjzxvi0nx/gsm-1.0.23-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251027.143044.ge6b947b-1.el9 |