From 31d1fc0a6e0e30c0e4f56fcaca512679c8e80570 Mon Sep 17 00:00:00 2001 From: Peter Hill Date: Wed, 6 Mar 2024 17:40:28 +0000 Subject: [PATCH] Fix warning about uninitialised `nciop` --- libsrc/mmapio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/mmapio.c b/libsrc/mmapio.c index baf188a77..98b9ddb4e 100644 --- a/libsrc/mmapio.c +++ b/libsrc/mmapio.c @@ -313,7 +313,7 @@ mmapio_open(const char* path, void* parameters, ncio* *nciopp, void** const mempp) { - ncio* nciop; + ncio* nciop = NULL; int fd; int status; int oflags;