Commit 6e09bbba authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Move constant data to text segment.

parent 0d8446e4
......@@ -3014,7 +3014,7 @@ void cdf_define_all_vars(stream_t *streamptr, int vlistID, int instID, int model
int ndims = ncvars[ncvarid].ndims;
int iodim = 0;
int ixyz = 0;
int ipow10[4] = {1, 10, 100, 1000};
static const int ipow10[4] = {1, 10, 100, 1000};
if ( ncvars[ncvarid].tsteptype != TSTEP_CONSTANT ) iodim++;
......
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