mirror of https://github.com/ecmwf/eccodes.git
Compiler warnings
This commit is contained in:
parent
6b67bd5ee2
commit
4f5d17f849
|
@ -22,7 +22,7 @@ int main(int argc, char * argv[])
|
|||
int ret;
|
||||
int i, j;
|
||||
int count=0;
|
||||
size_t paramIdSize, numberSize, values_len;
|
||||
size_t paramIdSize, numberSize, values_len=0;
|
||||
char** paramId;
|
||||
long* number;
|
||||
double* values;
|
||||
|
|
|
@ -51,7 +51,7 @@ void *runner(void *ptr)
|
|||
pthread_exit(0);
|
||||
}
|
||||
|
||||
int encode_file(char *input_file, char *output_file)
|
||||
static int encode_file(char *input_file, char *output_file)
|
||||
{
|
||||
grib_handle *source_handle = NULL;
|
||||
const void *buffer = NULL;
|
||||
|
|
|
@ -169,7 +169,7 @@ int main(int argc, char *argv[])
|
|||
grib_handle *result = NULL,*h;
|
||||
double* values = NULL;
|
||||
double *tmp = NULL;
|
||||
size_t size,count,j;
|
||||
size_t size=0,count,j;
|
||||
|
||||
long step = 0;
|
||||
long startStep = 0;
|
||||
|
|
Loading…
Reference in New Issue