mc/lib/strutil
Yury V. Zaytsev 04496c6fc1 clang: fix -Wconditional-uninitialized warnings
../../../src/filemanager/file.c:2402:61: warning: variable 'attrs' may be uninitialized when used here [-Wconditional-uninitialized]
                while (attrs_ok && mc_fsetflags (dst_vpath, attrs) != 0 && !ctx->skip_all)
                                                            ^~~~~
../../../src/filemanager/file.c:2266:24: note: initialize the variable 'attrs' to silence this warning
    unsigned long attrs;
                       ^
                        = 0

../../../src/filemanager/file.c:3227:38: warning: variable 'attrs' may be uninitialized when used here [-Wconditional-uninitialized]
            mc_fsetflags (dst_vpath, attrs);
                                     ^~~~~
../../../src/filemanager/file.c:2942:24: note: initialize the variable 'attrs' to silence this warning
    unsigned long attrs;
                       ^
                        = 0

../../../lib/strutil/tokenize.c:163:44: warning: variable 'delimopen' may be uninitialized when used here [-Wconditional-uninitialized]
        if (nestdelim != 0 && string[i] == delimopen)
                                           ^~~~~~~~~
../../../lib/strutil/tokenize.c:72:19: note: initialize the variable 'delimopen' to silence this warning
    char delimopen;
                  ^
                   = '\0'

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2024-06-02 12:49:13 +03:00
..
filevercmp.c Update template for .c files. 2023-03-19 20:34:24 +03:00
Makefile.am Ticket #4533: External editor does not work with arguments in $EDITOR 2024-03-31 19:04:26 +03:00
replace.c Merge lib/strescape.h into lib/strutil.h. Rename functions. 2024-04-07 16:38:11 +03:00
strescape.c Merge lib/strescape.h into lib/strutil.h. Rename functions. 2024-04-07 16:38:11 +03:00
strutil8bit.c Update copyright years. 2024-01-01 09:46:17 +03:00
strutil.c (mc_g_string_append_c_len): new API that extends GString one. 2024-06-02 12:41:34 +03:00
strutilascii.c Update copyright years. 2024-01-01 09:46:17 +03:00
strutilutf8.c Update copyright years. 2024-01-01 09:46:17 +03:00
strverscmp.c Update copyright years. 2024-01-01 09:46:17 +03:00
tokenize.c clang: fix -Wconditional-uninitialized warnings 2024-06-02 12:49:13 +03:00
xstrtol.c Update copyright years. 2024-01-01 09:46:17 +03:00