mirror of https://github.com/ecmwf/eccodes.git
Remove compiler warnings and clean up indentation
This commit is contained in:
parent
2c5f8e8198
commit
2eabb85568
|
@ -88,8 +88,6 @@ static void init_class(grib_action_class* c)
|
|||
|
||||
grib_action* grib_action_create_transient_darray( grib_context* context, const char* name, grib_darray* darray)
|
||||
{
|
||||
char buf[1024];
|
||||
|
||||
grib_action_transient_darray* a = NULL;
|
||||
grib_action_class* c = grib_action_class_transient_darray;
|
||||
grib_action* act = (grib_action*)grib_context_malloc_clear_persistent(context,c->size);
|
||||
|
|
|
@ -218,4 +218,3 @@ static int pack_bytes(grib_accessor* a, const unsigned char* val, size_t *len)
|
|||
|
||||
return GRIB_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue