Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions machine/builtin/encoding.cpp
Original file line number Diff line number Diff line change
@@ -753,6 +753,11 @@ namespace rubinius {
case econv_incomplete_input:
return state->symbol("incomplete_input");
}

/* Satisfy GCC 5. Somehow clang knows this switch statement covers the
* possible values. Somehow GCC doesn't even at version 5.
*/
return state->symbol("unknown converter status");
}

Symbol* Converter::primitive_convert(STATE, Object* source, String* target,

0 comments on commit 1c9920c

Please sign in to comment.