diff --git a/src/action_class_section.c b/src/action_class_section.c index 8a516e21e..57fc1d0e0 100644 --- a/src/action_class_section.c +++ b/src/action_class_section.c @@ -96,7 +96,7 @@ static int notify_change(grib_action* act, grib_accessor * notified, grib_accessor* changed) { - grib_loader loader = { 0,}; + grib_loader loader = { 0,0,0,0,0 }; grib_section *old_section = NULL; grib_handle *h = notified->parent->h; diff --git a/src/grib_ibmfloat.c b/src/grib_ibmfloat.c index 6ac5848a2..3e6bb0986 100644 --- a/src/grib_ibmfloat.c +++ b/src/grib_ibmfloat.c @@ -10,7 +10,6 @@ #include "grib_api_internal.h" - static void init_ibm_table(); typedef struct ibm_table_t ibm_table_t; @@ -23,7 +22,7 @@ struct ibm_table_t { double vmax; }; -static ibm_table_t ibm_table={ 0,{0,},{0,} }; +static ibm_table_t ibm_table={ 0, {0,}, {0,}, 0, 0 }; static void init_ibm_table() { if (!ibm_table.inited) { diff --git a/src/grib_ieeefloat.c b/src/grib_ieeefloat.c index 896faf595..9626e81d1 100644 --- a/src/grib_ieeefloat.c +++ b/src/grib_ieeefloat.c @@ -16,7 +16,6 @@ #if 1 - static void init_ieee_table(); typedef struct ieee_table_t ieee_table_t; @@ -29,7 +28,7 @@ struct ieee_table_t { double vmax; }; -static ieee_table_t ieee_table={ 0,{0,},{0,} }; +static ieee_table_t ieee_table={ 0,{0,},{0,}, 0, 0 }; static void init_ieee_table() { if (!ieee_table.inited) { @@ -73,8 +72,6 @@ static void binary_search(double xx[], const unsigned long n, double x, unsigned *j=jl; } - - double grib_ieee_table_e(unsigned long e) { if (!ieee_table.inited) init_ieee_table(); return ieee_table.e[e];