mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
build: pacify GCC 13 with -flto
* src/cut.c (cut_file): Explicitly mark STREAM as nonnull to avoid -Werror=null-dereference. * src/nl.c (nl_file): Likewise.
This commit is contained in:
1 parent
ba0527d4ca
commit
76e1200eeb
2 files changed
+4
No files matched your search
@@ -433,6 +433,8 @@ cut_file (char const *file, void (*cut_stream) (FILE *))
|
||||
}
|
||||
}
|
||||
|
||||
assume (stream);
|
||||
|
||||
fadvise (stream, FADVISE_SEQUENTIAL);
|
||||
|
||||
cut_stream (stream);
|
||||
|
||||
Reference in new issue
Block a user