Fix compiler warning (unused variable)

This commit is contained in:
Shahram Najm 2016-02-03 17:51:15 +00:00
parent b3b1e7b3e1
commit bd1d62f0c0
1 changed files with 1 additions and 2 deletions

View File

@ -202,8 +202,7 @@ static int pack_bytes(grib_accessor* a, const unsigned char* val, size_t *len)
size_t length = *len;
long totalLength;
long section4Length;
grib_handle* h=grib_handle_of_accessor(a);
grib_context* c=h->context;
/* grib_handle* h=grib_handle_of_accessor(a); */
grib_accessor_raw *self =(grib_accessor_raw*)a;
grib_get_long(grib_handle_of_accessor(a),self->totalLength,&totalLength);