Commit ac034036 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

tests/test_grib.c: added declaration for memset

parent 517d629a
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cdi.h"
......@@ -25,7 +25,7 @@ int main(int argc, char *argv[])
int vlistID, taxisID;
int nmiss;
datasize = nlon * nlat;
data = (double *) malloc(datasize*sizeof(double));
memset(data, 0, datasize*sizeof(double));
......@@ -126,12 +126,3 @@ int main(int argc, char *argv[])
return (0);
}
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
Supports Markdown
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