Skip to content

Commit e67f125

Browse files
committed
octave.cxx: add missing return statement before "fail:" label
1 parent f6286a1 commit e67f125

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Source/Modules/octave.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,7 @@ class OCTAVE:public Language {
845845
} else {
846846
Swig_warning(WARN_TYPEMAP_VARIN_UNDEF, input_file, line_number, "Unable to set variable of type %s.\n", SwigType_str(t, 0));
847847
}
848+
Append(setf->code, "return octave_value_list();\n");
848849
Append(setf->code, "fail:\n");
849850
Append(setf->code, "return octave_value_list();\n");
850851
} else {

0 commit comments

Comments
 (0)