Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
ac034036
Commit
ac034036
authored
Jan 18, 2012
by
Uwe Schulzweida
Browse files
tests/test_grib.c: added declaration for memset
parent
517d629a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test_grib.c
View file @
ac034036
#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:
*/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment