Remove unused function grib_bufr_descriptor_set_values

This commit is contained in:
Shahram Najm 2017-02-01 15:07:34 +00:00
parent 73806397b0
commit 933d419b1b
2 changed files with 0 additions and 8 deletions

View File

@ -172,7 +172,6 @@ void grib_hash_array_value_delete(grib_context *c, grib_hash_array_value *v);
/* grib_bufr_descriptor.c */
bufr_descriptor *grib_bufr_descriptor_new(grib_accessor *tables_accessor, int code, int *err);
bufr_descriptor *grib_bufr_descriptor_clone(bufr_descriptor *d);
void grib_bufr_descriptor_set_values(bufr_descriptor *v, int scale, int reference, int width);
int grib_bufr_descriptor_set_code(grib_accessor *tables_accessor, int code, bufr_descriptor *v);
void grib_bufr_descriptor_set_reference(bufr_descriptor *v, double reference);
void grib_bufr_descriptor_set_width(bufr_descriptor *v, long width);

View File

@ -42,13 +42,6 @@ bufr_descriptor* grib_bufr_descriptor_clone(bufr_descriptor* d) {
return cd;
}
void grib_bufr_descriptor_set_values(bufr_descriptor* v,int scale,int reference,int width) {
if (!v) return;
v->scale=scale;
v->width=width;
v->factor=grib_power(-scale,10);
}
int grib_bufr_descriptor_set_code(grib_accessor* tables_accessor,int code,bufr_descriptor* v) {
int err=0;
grib_context* c;