housekeeping: remove unused array
the "report an error" macros defined an array that was not used.master
parent
e371f0c605
commit
a4a5576858
|
@ -65,7 +65,6 @@
|
||||||
} while(0)
|
} while(0)
|
||||||
#else /* ! (H5_VERS_MAJOR > 1 && H5_VERS_MINOR > 6) */
|
#else /* ! (H5_VERS_MAJOR > 1 && H5_VERS_MINOR > 6) */
|
||||||
#define HDF5_CHECK(HDF5_RETURN, MSG) do { \
|
#define HDF5_CHECK(HDF5_RETURN, MSG) do { \
|
||||||
char resultString[1024]; \
|
|
||||||
\
|
\
|
||||||
if (HDF5_RETURN < 0) { \
|
if (HDF5_RETURN < 0) { \
|
||||||
fprintf(stdout, "** error **\n"); \
|
fprintf(stdout, "** error **\n"); \
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
* NCMPI_CHECK will display a custom error message and then exit the program
|
* NCMPI_CHECK will display a custom error message and then exit the program
|
||||||
*/
|
*/
|
||||||
#define NCMPI_CHECK(NCMPI_RETURN, MSG) do { \
|
#define NCMPI_CHECK(NCMPI_RETURN, MSG) do { \
|
||||||
char resultString[1024]; \
|
|
||||||
\
|
\
|
||||||
if (NCMPI_RETURN < 0) { \
|
if (NCMPI_RETURN < 0) { \
|
||||||
fprintf(stdout, "** error **\n"); \
|
fprintf(stdout, "** error **\n"); \
|
||||||
|
|
Loading…
Reference in New Issue