Skip to content
Snippets Groups Projects
Commit aa1f2aaf authored by Mladen Ivkovic's avatar Mladen Ivkovic
Browse files

removed static attribute

parent e97307cd
No related branches found
No related tags found
5 merge requests!2112Prep for remix merge,!2076Another master merge into the zoom buffer branch,!2075Draft: Merge latest updates into zoom buffer branch,!2074New symetric stuff into MHD_FS,!2062circumvent oneAPI 2025 warning in restart.c
...@@ -194,7 +194,7 @@ void restart_read(struct engine *e, const char *filename) { ...@@ -194,7 +194,7 @@ void restart_read(struct engine *e, const char *filename) {
/* Get our version and signature back. These should match. /* Get our version and signature back. These should match.
* Use static int here to avoid compiler warnings about gnu-extensions * Use static int here to avoid compiler warnings about gnu-extensions
* of folding a variable length array to constant array. */ * of folding a variable length array to constant array. */
const static int sig_len = strlen(SWIFT_RESTART_SIGNATURE); const int sig_len = strlen(SWIFT_RESTART_SIGNATURE);
char signature[sig_len + 1]; char signature[sig_len + 1];
restart_read_blocks(signature, sig_len, 1, stream, NULL, "SWIFT signature"); restart_read_blocks(signature, sig_len, 1, stream, NULL, "SWIFT signature");
signature[sig_len] = '\0'; signature[sig_len] = '\0';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment