Compiler warnings

This commit is contained in:
Shahram Najm 2018-01-19 16:20:59 +00:00
parent 6b67bd5ee2
commit 4f5d17f849
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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