Commit 097bbca4 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Changed ;; to ;.

parent e4b30005
......@@ -1791,7 +1791,7 @@ static void removeDataset()
char cwd[1024];
char *dummy = getcwd(cwd, sizeof(cwd));
int procID = getpid();
char *dataset_path = (char *) Malloc( (strlen(cwd) + 1 + strlen("dataset.json") + 7) * sizeof(char));;
char *dataset_path = (char *) Malloc( (strlen(cwd) + 1 + strlen("dataset.json") + 7) * sizeof(char));
sprintf(dataset_path, "%s/dataset%d.json", cwd, procID);
remove(dataset_path);
}
......@@ -1919,7 +1919,7 @@ static void setup_dataset(list_t *kvl, int streamID, int *calendar)
char cwd[1024];
char *dummy =getcwd(cwd, sizeof(cwd));
char *dataset_path = (char *) Malloc( (strlen(cwd) + 1 + strlen("dataset.json") + 7) * sizeof(char));;
char *dataset_path = (char *) Malloc( (strlen(cwd) + 1 + strlen("dataset.json") + 7) * sizeof(char));
FILE *dataset_json;
int procID = getpid();
......
......@@ -207,7 +207,7 @@ void *Setattribute(void *argument)
if ( pmlist == NULL ) cdoAbort("Parse error!");
list_destroy(kvlist);
kvlist = *(list_t **)pmlist->head->data;
if ( kvlist == NULL ) cdoAbort("Parse error!");;
if ( kvlist == NULL ) cdoAbort("Parse error!");
fclose(fp);
if ( cdoVerbose ) kvlist_print(kvlist);
}
......
......@@ -31,7 +31,7 @@ double percentile_nist(double *array, size_t len, double pn)
else
{
double vk1 = nth_element(array, len, k);
double vk = nth_element(array, len, k-1);;
double vk = nth_element(array, len, k-1);
percentil = vk + d*(vk1 - vk);
}
......@@ -52,7 +52,7 @@ double percentile_numpy(double *array, size_t len, double pn)
if ( interpolation_method == LINEAR )
{
double vk1 = nth_element(array, len, k);
double vk = nth_element(array, len, k-1);;
double vk = nth_element(array, len, k-1);
percentil = vk + d*(vk1 - vk);
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment