Remove compiler warnings and clean up indentation

This commit is contained in:
Shahram Najm 2016-02-04 11:33:06 +00:00
parent 2c5f8e8198
commit 2eabb85568
2 changed files with 43 additions and 46 deletions

View File

@ -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);

View File

@ -218,4 +218,3 @@ static int pack_bytes(grib_accessor* a, const unsigned char* val, size_t *len)
return GRIB_SUCCESS;
}