gcc warning fix
warning: control reaches end of non-void function [-Wreturn-type]
This commit is contained in:
parent
d59cbf1c39
commit
a5315e1159
1 changed files with 1 additions and 0 deletions
|
|
@ -1163,6 +1163,7 @@ int Swig_scopename_check(const String *s) {
|
||||||
String *Swig_string_command(String *s) {
|
String *Swig_string_command(String *s) {
|
||||||
Swig_error("SWIG", Getline(s), "Command encoder no longer supported - use regex encoder instead.\n");
|
Swig_error("SWIG", Getline(s), "Command encoder no longer supported - use regex encoder instead.\n");
|
||||||
SWIG_exit(EXIT_FAILURE);
|
SWIG_exit(EXIT_FAILURE);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue