Skip to content

Commit 91c3064

Browse files
Fix warnings for the wgrib directory (#535)
Co-authored-by: AlysonStahl-NOAA <166434581+AlysonStahl-NOAA@users.noreply.github.com>
1 parent 1a433af commit 91c3064

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

wgrib/ec_ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void EC_ext(unsigned char *pds, char *prefix, char *suffix, int verbose) {
6565
sprintf(string, "Perturbed forecast %d",
6666
PDS_EcFcstNo(pds));
6767
else
68-
strcpy(string, "Perturbed forecasts"); break;
68+
strcpy(string, "Perturbed forecasts");
6969
break;
7070
case 14: strcpy(string, "Cluster means"); break;
7171
case 15: strcpy(string, "Cluster std. dev."); break;

wgrib/seekgrib.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
#include "grib.h"
2929
#include "pds4.h"
3030

31-
#ifndef min
32-
#define min(a,b) ((a) < (b) ? (a) : (b))
33-
#endif
34-
3531
/* #define LEN_HEADER_PDS (28+42+100) */
3632
#define LEN_HEADER_PDS (28+8)
3733

0 commit comments

Comments
 (0)