octave.cxx: add missing return statement before "fail:" label
This commit is contained in:
parent
f6286a1b19
commit
e67f125582
1 changed files with 1 additions and 0 deletions
|
|
@ -845,6 +845,7 @@ public:
|
|||
} else {
|
||||
Swig_warning(WARN_TYPEMAP_VARIN_UNDEF, input_file, line_number, "Unable to set variable of type %s.\n", SwigType_str(t, 0));
|
||||
}
|
||||
Append(setf->code, "return octave_value_list();\n");
|
||||
Append(setf->code, "fail:\n");
|
||||
Append(setf->code, "return octave_value_list();\n");
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue