From dafb4d3e25383fba641c466eac2a5ef25d6bbfa9 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Fri, 15 Nov 2024 23:57:47 -0500 Subject: [PATCH] Fixed clang -Wunused-variable warning --- libdispatch/dplugins.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libdispatch/dplugins.c b/libdispatch/dplugins.c index 9179f6ecd..4347d8227 100644 --- a/libdispatch/dplugins.c +++ b/libdispatch/dplugins.c @@ -61,7 +61,9 @@ nc_plugin_path_initialize(void) int stat = NC_NOERR; struct NCglobalstate* gs = NULL; NCPluginList dirs = {0,NULL}; +#ifdef USE_HDF5 int hdf5found = 0; /* 1 => we got a legit plugin path set from HDF5 */ +#endif if(!NC_initialized) nc_initialize(); if(NC_plugin_path_initialized != 0) goto done;