--- a/ext/ruby_krb5_auth.c 2017-11-22 15:56:25.772508003 -0500 +++ b/ext/ruby_krb5_auth.c 2017-11-22 15:56:29.202500061 -0500 @@ -49,7 +49,8 @@ static char *get_string_or_nil(VALUE arg else if (TYPE(arg) == T_STRING) return StringValueCStr(arg); else - rb_raise(rb_eTypeError, "wrong argument type (expected String or nil)"); return NULL; + rb_raise(rb_eTypeError, "wrong argument type (expected String or nil)"); + return NULL; } void Krb5_register_error(int error)