mirror of https://github.com/ecmwf/eccodes.git
Remove unused function grib_bufr_descriptor_set_values
This commit is contained in:
parent
73806397b0
commit
933d419b1b
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue