Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
aa1f2aaf
Commit
aa1f2aaf
authored
6 months ago
by
Mladen Ivkovic
Browse files
Options
Downloads
Patches
Plain Diff
removed static attribute
parent
e97307cd
No related branches found
No related tags found
5 merge requests
!2112
Prep for remix merge
,
!2076
Another master merge into the zoom buffer branch
,
!2075
Draft: Merge latest updates into zoom buffer branch
,
!2074
New symetric stuff into MHD_FS
,
!2062
circumvent oneAPI 2025 warning in restart.c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/restart.c
+1
-1
1 addition, 1 deletion
src/restart.c
with
1 addition
and
1 deletion
src/restart.c
+
1
−
1
View file @
aa1f2aaf
...
@@ -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'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment