Commit 16811848 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Do not unnecessarily initialize memory.

parent da567bcd
...@@ -276,7 +276,7 @@ static void fortran_interface(char *fname, char *fnameinc, char *fnameint, ...@@ -276,7 +276,7 @@ static void fortran_interface(char *fname, char *fnameinc, char *fnameint,
size_t lineBufSize = 0; size_t lineBufSize = 0;
char sname[128], *parname; char sname[128], *parname;
char xname[128]; char xname[128];
char *xdes = calloc(128, 1); char *xdes = malloc(128);
xname[0] = 0; xname[0] = 0;
size_t xnameLen = 0; size_t xnameLen = 0;
enum cftype functype; enum cftype functype;
......
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