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
75c9e143
Commit
75c9e143
authored
Jul 15, 2016
by
Peter W. Draper
Browse files
Initialisations to keep GCC happy
parent
869f9305
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/parallel_io.c
View file @
75c9e143
...
...
@@ -498,7 +498,7 @@ void read_ic_parallel(char* fileName, const struct UnitSystem* internal_units,
int
num_fields
=
0
;
struct
io_props
list
[
100
];
size_t
N
;
size_t
N
=
0
;
/* Read particle fields into the particle structure */
switch
(
ptype
)
{
...
...
@@ -729,7 +729,7 @@ void write_output_parallel(struct engine* e, const char* baseName,
int
num_fields
=
0
;
struct
io_props
list
[
100
];
size_t
N
;
size_t
N
=
0
;
/* Write particle fields from the particle structure */
switch
(
ptype
)
{
...
...
src/serial_io.c
View file @
75c9e143
...
...
@@ -558,7 +558,7 @@ void read_ic_serial(char* fileName, const struct UnitSystem* internal_units,
int
num_fields
=
0
;
struct
io_props
list
[
100
];
size_t
N
;
size_t
N
=
0
;
/* Read particle fields into the particle structure */
switch
(
ptype
)
{
...
...
@@ -820,7 +820,7 @@ void write_output_serial(struct engine* e, const char* baseName,
int
num_fields
=
0
;
struct
io_props
list
[
100
];
size_t
N
;
size_t
N
=
0
;
/* Write particle fields from the particle structure */
switch
(
ptype
)
{
...
...
src/single_io.c
View file @
75c9e143
...
...
@@ -439,7 +439,7 @@ void read_ic_single(char* fileName, const struct UnitSystem* internal_units,
int
num_fields
=
0
;
struct
io_props
list
[
100
];
size_t
N
;
size_t
N
=
0
;
/* Read particle fields into the structure */
switch
(
ptype
)
{
...
...
@@ -631,7 +631,7 @@ void write_output_single(struct engine* e, const char* baseName,
int
num_fields
=
0
;
struct
io_props
list
[
100
];
size_t
N
;
size_t
N
=
0
;
/* Write particle fields from the particle structure */
switch
(
ptype
)
{
...
...
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