Page MenuHomeFreeBSD
Paste P543

Command-Line Input
ActivePublic

Authored by markj on Jun 30 2022, 4:59 PM.
git (ff/misc) markj@nuc> pwd
/usr/home/markj/src/freebsd/usr.bin/localedef
git (ff/misc) markj@nuc> scan-build make 2>&1
scan-build: Using '/usr/local/llvm90/bin/clang-9' for static analysis
[Creating objdir /usr/obj/usr/home/markj/src/freebsd/amd64.amd64/usr.bin/localedef...]
yacc -d -o parser.c /usr/home/markj/src/freebsd/usr.bin/localedef/parser.y
echo localedef.full: /usr/lib/libc.a >> .depend
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.charmap.o -MTcharmap.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/charmap.c -o charmap.o
/usr/home/markj/src/freebsd/usr.bin/localedef/charmap.c:63:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(cmap_sym, charmap, rb_sym, cmap_compare_sym);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/charmap.c:63:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(cmap_sym, charmap, rb_sym, cmap_compare_sym);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/charmap.c:64:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(cmap_wc, charmap, rb_wc, cmap_compare_wc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/charmap.c:64:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(cmap_wc, charmap, rb_wc, cmap_compare_wc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/charmap.c:240:8: warning: Potential leak of memory pointed to by 'n'
if (nodups) {
^~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/charmap.c:254:1: warning: Potential leak of memory pointed to by 'n'
}
^
6 warnings generated.
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.collate.o -MTcollate.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/collate.c -o collate.o
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:367:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(weights, weight, entry, weight_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:367:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(weights, weight, entry, weight_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:380:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(collsyms, collsym, entry, collsym_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:380:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(collsyms, collsym, entry, collsym_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:393:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(collundefs, collundef, entry, collundef_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:393:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(collundefs, collundef, entry, collundef_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:406:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(elem_by_symbol, collelem, rb_bysymbol, element_compare_symbol);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:406:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(elem_by_symbol, collelem, rb_bysymbol, element_compare_symbol);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:419:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(elem_by_expand, collelem, rb_byexpand, element_compare_expand);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:419:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(elem_by_expand, collelem, rb_byexpand, element_compare_expand);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:430:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(collchars, collchar, entry, collchar_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:430:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(collchars, collchar, entry, collchar_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:441:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(substs, subst, entry, subst_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:441:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(substs, subst, entry, subst_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:454:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(substs_ref, subst, entry_ref, subst_compare_ref);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:454:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(substs_ref, subst, entry_ref, subst_compare_ref);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:962:4: warning: Potential leak of memory pointed to by 's'
INTERR;
^~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/localedef.h:179:16: note: expanded from macro 'INTERR'
#define INTERR fprintf(stderr,"internal fault (%s:%d)", __FILE__, __LINE__)
^~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:1000:2: warning: Potential leak of memory pointed to by 'cc'
add_subst_pri(cc->ref[curr_weight]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/collate.c:1021:3: warning: Potential leak of memory pointed to by 'cu'
add_subst_pri(cu->ref[curr_weight]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 warnings generated.
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.ctype.o -MTctype.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/ctype.c -o ctype.o
/usr/home/markj/src/freebsd/usr.bin/localedef/ctype.c:90:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(ctypes, ctype_node, entry, ctype_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:480:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_LEFT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:383:30: note: expanded from macro 'RB_ROTATE_LEFT'
if ((RB_RIGHT(elm, field) = RB_LEFT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:326:30: note: expanded from macro 'RB_LEFT'
#define RB_LEFT(elm, field) (elm)->field.rbe_left
^~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/ctype.c:90:1: warning: Dereference of undefined pointer value
RB_GENERATE_STATIC(ctypes, ctype_node, entry, ctype_compare);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:448:2: note: expanded from macro 'RB_GENERATE_STATIC'
RB_GENERATE_INTERNAL(name, type, field, cmp, __unused static)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:450:2: note: expanded from macro 'RB_GENERATE_INTERNAL'
RB_GENERATE_INSERT_COLOR(name, type, field, attr) \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:501:5: note: expanded from macro 'RB_GENERATE_INSERT_COLOR'
RB_ROTATE_RIGHT(head, elm, child, field);\
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:394:29: note: expanded from macro 'RB_ROTATE_RIGHT'
if ((RB_LEFT(elm, field) = RB_RIGHT(tmp, field)) != NULL) { \
^~~~~~~~~~~~~~~~~~~~
/usr/include/sys/tree.h:327:31: note: expanded from macro 'RB_RIGHT'
#define RB_RIGHT(elm, field) (elm)->field.rbe_right
^~~~~~~~~~~~~~~~~~~~~~
/usr/home/markj/src/freebsd/usr.bin/localedef/ctype.c:295:1: warning: Potential leak of memory pointed to by 'ctn'
}
^
3 warnings generated.
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.localedef.o -MTlocaledef.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/localedef.c -o localedef.o
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.messages.o -MTmessages.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/messages.c -o messages.o
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.monetary.o -MTmonetary.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/monetary.c -o monetary.o
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.numeric.o -MTnumeric.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/numeric.c -o numeric.o
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.parser.o -MTparser.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c parser.c -o parser.o
parser.c:844:5: warning: Value stored to 'yym' is never read
yym = 0;
^ ~
parser.c:845:5: warning: Value stored to 'yyn' is never read
yyn = 0;
^ ~
parser.c:849:5: warning: Value stored to 'yystate' is never read
yystate = 0;
^ ~
3 warnings generated.
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.scanner.o -MTscanner.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/scanner.c -o scanner.o
/usr/home/markj/src/freebsd/usr.bin/localedef/scanner.c:292:16: warning: The result of the left shift is undefined because the left operand is negative
v = ((hex(c1) << 4) | hex(c2));
~~~~~~~ ^
/usr/home/markj/src/freebsd/usr.bin/localedef/scanner.c:331:2: warning: Value stored to 'b' is never read
b = 0;
^ ~
2 warnings generated.
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.time.o -MTtime.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/time.c -o time.o
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -MD -MF.depend.wide.o -MTwide.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -c /usr/home/markj/src/freebsd/usr.bin/localedef/wide.c -o wide.o
/usr/local/llvm90/bin/../libexec/ccc-analyzer -O2 -pipe -fno-common -I. -I/usr/home/markj/src/freebsd/usr.bin/localedef -I/usr/home/markj/src/freebsd/lib/libc/locale -I/usr/home/markj/src/freebsd/lib/libc/stdtime -fPIE -g -gz=zlib -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-unknown-pragmas -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qunused-arguments -Wl,-zrelro -pie -o localedef.full charmap.o collate.o ctype.o localedef.o messages.o monetary.o numeric.o parser.o scanner.o time.o wide.o
objcopy --only-keep-debug localedef.full localedef.debug
objcopy --strip-debug --add-gnu-debuglink=localedef.debug localedef.full localedef
gzip -cn /usr/home/markj/src/freebsd/usr.bin/localedef/localedef.1 > localedef.1.gz
scan-build: 33 bugs found.
scan-build: Run 'scan-view /tmp/scan-build-2022-06-30-125846-18950-1' to examine bug reports.