logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/
commit: f09d2267e9aa8c1535a6357400e4192336dc0ad7
parent 12b4d8bee0b834aecb36deb3e6013a383148bd90
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 26 May 2025 00:25:19 +0200

configure.d/getopt_long.c: do not pass NULL to puts

Found via GCC 15 -fanalyzer

Diffstat:

Mconfigure.d/getopt_long.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.d/getopt_long.c b/configure.d/getopt_long.c @@ -38,7 +38,7 @@ main(int argc, char *argv[]) } } - puts(file); + if(file) puts(file); return 0; }