Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.
Other
126 stars 49 forks source link

Warning that can be eliminated #105

Open MathieuDutSik opened 3 years ago

MathieuDutSik commented 3 years ago

When compiling with netcdf-cxx4 I have the following warning:

/home/mathieu/opt/netcdf-cxx4-4.3.1/include/ncGroup.h:18:14: warning: ‘netCDF::file_id’ defined but not used [-Wunused-variable] 18 | static int file_id;

When eliminating that line, everything goes fine and the warning disappears.

To report a non-security related issue, please provide:

If you have a general question about the software, please view our Suggested Support Process.

WardF commented 3 years ago

Thank you!