Bug Summary

File:src/gnu/usr.bin/texinfo/obj/conftest.c
Warning:line 113, column 7
Value stored to 'cs' during its initialization is never read

Annotated Source Code

Press '?' to see keyboard shortcuts

clang -cc1 -cc1 -triple amd64-unknown-openbsd7.0 -analyze -disable-free -disable-llvm-verifier -discard-value-names -main-file-name conftest.c -analyzer-store=region -analyzer-opt-analyze-nested-blocks -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 1 -pic-is-pie -mframe-pointer=all -relaxed-aliasing -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-feature +retpoline-indirect-calls -target-feature +retpoline-indirect-branches -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/usr/src/gnu/usr.bin/texinfo/obj -resource-dir /usr/local/lib/clang/13.0.0 -internal-isystem /usr/local/lib/clang/13.0.0/include -internal-externc-isystem /usr/include -O2 -fdebug-compilation-dir=/usr/src/gnu/usr.bin/texinfo/obj -ferror-limit 19 -fwrapv -D_RET_PROTECTOR -ret-protector -fgnuc-version=4.2.1 -vectorize-loops -vectorize-slp -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-valloc -fno-builtin-free -fno-builtin-strdup -fno-builtin-strndup -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /home/ben/Projects/vmm/scan-build/2022-01-12-194120-40624-1 -x c conftest.c
1/* confdefs.h. */
2
3#define PACKAGE_NAME"GNU Texinfo" "GNU Texinfo"
4#define PACKAGE_TARNAME"texinfo" "texinfo"
5#define PACKAGE_VERSION"4.8" "4.8"
6#define PACKAGE_STRING"GNU Texinfo 4.8" "GNU Texinfo 4.8"
7#define PACKAGE_BUGREPORT"" ""
8#define PACKAGE"texinfo" "texinfo"
9#define VERSION"4.8" "4.8"
10#define STDC_HEADERS1 1
11#define HAVE_SYS_TYPES_H1 1
12#define HAVE_SYS_STAT_H1 1
13#define HAVE_STDLIB_H1 1
14#define HAVE_STRING_H1 1
15#define HAVE_MEMORY_H1 1
16#define HAVE_STRINGS_H1 1
17#define HAVE_INTTYPES_H1 1
18#define HAVE_STDINT_H1 1
19#define HAVE_UNISTD_H1 1
20#define STDC_HEADERS1 1
21#define HAVE_FCNTL_H1 1
22#define HAVE_LIMITS_H1 1
23#define HAVE_PWD_H1 1
24#define HAVE_STRING_H1 1
25#define HAVE_STRINGS_H1 1
26#define HAVE_TERMCAP_H1 1
27#define HAVE_TERMIOS_H1 1
28#define HAVE_UNISTD_H1 1
29#define HAVE_SYS_FCNTL_H1 1
30#define HAVE_SYS_FILE_H1 1
31#define HAVE_SYS_TIME_H1 1
32#define HAVE_SYS_WAIT_H1 1
33#define RETSIGTYPEvoid void
34#define HAVE_DECL_MEMCHR1 1
35#define HAVE_DECL_STRCOLL1 1
36#define HAVE_DECL_STRERROR1 1
37#define HAVE_ALLOCA1 1
38#define HAVE_STRCOLL1 1
39#define HAVE_VPRINTF1 1
40#define HAVE_BZERO1 1
41#define HAVE_GETCWD1 1
42#define HAVE_MEMSET1 1
43#define HAVE_SETVBUF1 1
44#define HAVE_SIGACTION1 1
45#define HAVE_SIGPROCMASK1 1
46#define HAVE_SIGSETMASK1 1
47#define HAVE_STRCHR1 1
48#define HAVE_MEMCPY1 1
49#define HAVE_MEMMOVE1 1
50#define HAVE_STRDUP1 1
51#define HAVE_STRERROR1 1
52#define HAVE_STRCASECMP1 1
53#define HAVE_STRNCASECMP1 1
54#define HAVE_FCNTL_H1 1
55#define HAVE_SYS_TIME_H1 1
56#define HAVE_UNISTD_H1 1
57#define HAVE_DECL_GETENV1 1
58#define HAVE_INTTYPES_H_WITH_UINTMAX1 1
59#define HAVE_STDINT_H_WITH_UINTMAX1 1
60#define HAVE_UNSIGNED_LONG_LONG1 1
61#define HAVE_UINTMAX_T1 1
62#define HAVE_MKSTEMP1 1
63#define HAVE_LONG_LONG1 1
64#define HAVE_LONG_DOUBLE1 1
65#define HAVE_WCHAR_T1 1
66#define HAVE_WINT_T1 1
67#define HAVE_INTMAX_T1 1
68#define HAVE_POSIX_PRINTF1 1
69#define HAVE_STDLIB_H1 1
70#define HAVE_UNISTD_H1 1
71#define HAVE_GETPAGESIZE1 1
72#define HAVE_MMAP1 1
73#define INTDIV0_RAISES_SIGFPE0 0
74#define HAVE_INTTYPES_H1 1
75#define HAVE_STDINT_H1 1
76#define HAVE_STDINT_H1 1
77#define HAVE_LIMITS_H1 1
78#define HAVE_LOCALE_H1 1
79#define HAVE_NL_TYPES_H1 1
80#define HAVE_STDDEF_H1 1
81#define HAVE_STDLIB_H1 1
82#define HAVE_STRING_H1 1
83#define HAVE_UNISTD_H1 1
84#define HAVE_SYS_PARAM_H1 1
85#define HAVE_ASPRINTF1 1
86#define HAVE_FWPRINTF1 1
87#define HAVE_GETCWD1 1
88#define HAVE_GETEGID1 1
89#define HAVE_GETEUID1 1
90#define HAVE_GETGID1 1
91#define HAVE_GETUID1 1
92#define HAVE_MUNMAP1 1
93#define HAVE_PUTENV1 1
94#define HAVE_SETENV1 1
95#define HAVE_SETLOCALE1 1
96#define HAVE_SNPRINTF1 1
97#define HAVE_STPCPY1 1
98#define HAVE_STRCASECMP1 1
99#define HAVE_STRDUP1 1
100#define HAVE_STRTOUL1 1
101#define HAVE_TSEARCH1 1
102#define HAVE_WCSLEN1 1
103#define HAVE_DECL__SNPRINTF0 0
104#define HAVE_DECL__SNWPRINTF0 0
105#define HAVE_DECL_FEOF_UNLOCKED0 0
106#define HAVE_DECL_FGETS_UNLOCKED0 0
107#define HAVE_DECL_GETC_UNLOCKED1 1
108/* end confdefs.h. */
109#include <langinfo.h>
110int
111main ()
112{
113char* cs = nl_langinfo(CODESET51);
Value stored to 'cs' during its initialization is never read
114 ;
115 return 0;
116}