diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-18 11:28:39 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-18 11:28:39 -0800 |
| commit | 0b0e99bfac8e11463ae15211882aab98ba150dcb (patch) | |
| tree | bbcce8c175438e8f6152207c9cd9099942230b2f /files.c | |
| parent | e98574570ec0e355c6cff2b6e30bd992f20fe610 (diff) | |
A few more pedantic cleanups
Diffstat (limited to 'files.c')
| -rw-r--r-- | files.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ static void populate_lines(file_t *f) // file_t *load_filef(file_t **files, const char *fmt, ...) { - char filename[PATH_MAX+1] = {0}; + char filename[PATH_MAX+1] = {'\0'}; va_list args; va_start(args, fmt); check(vsnprintf(filename, PATH_MAX, fmt, args) <= (int)PATH_MAX, |
