Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
f0d50532
Commit
f0d50532
authored
May 04, 2018
by
matthieu
Browse files
Fix GCC-8 warnings in the test suite.
parent
e9e51f0e
Changes
4
Hide whitespace changes
Inline
Side-by-side
tests/test125cells.c
View file @
f0d50532
...
...
@@ -470,7 +470,7 @@ int main(int argc, char *argv[]) {
size_t
runs
=
0
,
particles
=
0
;
double
h
=
1
.
23485
,
size
=
1
.,
rho
=
2
.
5
;
double
perturbation
=
0
.;
char
outputFileNameExtension
[
2
00
]
=
""
;
char
outputFileNameExtension
[
1
00
]
=
""
;
char
outputFileName
[
200
]
=
""
;
enum
velocity_field
vel
=
velocity_zero
;
enum
pressure_field
press
=
pressure_const
;
...
...
tests/test27cells.c
View file @
f0d50532
...
...
@@ -342,7 +342,7 @@ int main(int argc, char *argv[]) {
size_t
runs
=
0
,
particles
=
0
;
double
h
=
1
.
23485
,
size
=
1
.,
rho
=
1
.;
double
perturbation
=
0
.,
h_pert
=
0
.;
char
outputFileNameExtension
[
2
00
]
=
""
;
char
outputFileNameExtension
[
1
00
]
=
""
;
char
outputFileName
[
200
]
=
""
;
enum
velocity_types
vel
=
velocity_zero
;
...
...
tests/testActivePair.c
View file @
f0d50532
...
...
@@ -429,7 +429,7 @@ int main(int argc, char *argv[]) {
struct
runner
*
runner
;
char
c
;
static
long
long
partId
=
0
;
char
outputFileNameExtension
[
2
00
]
=
""
;
char
outputFileNameExtension
[
1
00
]
=
""
;
char
swiftOutputFileName
[
200
]
=
""
;
char
bruteForceOutputFileName
[
200
]
=
""
;
...
...
tests/testPeriodicBC.c
View file @
f0d50532
...
...
@@ -388,7 +388,7 @@ int main(int argc, char *argv[]) {
double
h
=
1
.
23485
,
size
=
1
.,
rho
=
1
.;
double
perturbation
=
0
.;
double
threshold
=
ACC_THRESHOLD
;
char
outputFileNameExtension
[
2
00
]
=
""
;
char
outputFileNameExtension
[
1
00
]
=
""
;
char
swiftOutputFileName
[
200
]
=
""
;
char
bruteForceOutputFileName
[
200
]
=
""
;
enum
velocity_types
vel
=
velocity_zero
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment