Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xavier Garrido
CAMEL
Commits
764ea70c
Commit
764ea70c
authored
Jul 16, 2018
by
Matthieu Tristram
Browse files
Clean WARNING for non-void function without return
parent
473ee676
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/camel/Engine.cc
src/camel/Engine.cc
+2
-2
No files found.
src/camel/Engine.cc
View file @
764ea70c
...
...
@@ -118,8 +118,8 @@ Engine::get(const std::string& key)
else
if
(
var
==
"z_reio"
)
return
get_z_reio
();
else
if
(
var
==
"H"
)
return
get_H
(
z
);
else
if
(
var
==
"com_distance"
)
return
com_distance
(
z
);
else
if
(
var
==
"growthD"
)
return
get_growthD
(
z
);
else
planck_assert
(
false
,(
"key="
+
key
+
" not found in Engine::get()"
));
else
if
(
var
==
"growthD"
)
return
get_growthD
(
z
);
else
{
planck_assert
(
false
,(
"key="
+
key
+
" not found in Engine::get()"
));
return
-
1
;}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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