From 53fcdf5f743aa9b02972eec658e66f96d6a63386 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sat, 16 Nov 2024 16:51:31 +0100 Subject: Silence most -Wzero-as-null-pointer-constant diagnostics Replace 0 by NULL and {0} by {}. Omit a few cases that aren't so trivial to fix. Link: Link: Signed-off-by: Alejandro Colomar --- libio/wgenops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libio/wgenops.c') diff --git a/libio/wgenops.c b/libio/wgenops.c index adfb970..f77a2d2 100644 --- a/libio/wgenops.c +++ b/libio/wgenops.c @@ -601,7 +601,7 @@ _IO_unsave_wmarkers (FILE *fp) struct _IO_marker *mark = fp->_markers; if (mark) { - fp->_markers = 0; + fp->_markers = NULL; } if (_IO_have_backup (fp)) -- cgit v1.1