Skip to content

Commit

Permalink
Fixed clang -Wunused-variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
seanm committed Nov 16, 2024
1 parent 5a4040b commit dafb4d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libdispatch/dplugins.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dafb4d3

Please sign in to comment.