summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--transcode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/transcode.c b/transcode.c
index 5bcee00359..6d31700711 100644
--- a/transcode.c
+++ b/transcode.c
@@ -3156,10 +3156,10 @@ econv_s_search_convpath(int argc, VALUE *argv, VALUE klass)
transcode_search_path(sname, dname, search_convpath_i, &convpath);
if (NIL_P(convpath)) {
- VALUE exc = rb_econv_open_exc(sname, dname, ecflags);
- RB_GC_GUARD(snamev);
- RB_GC_GUARD(dnamev);
- rb_exc_raise(exc);
+ VALUE exc = rb_econv_open_exc(sname, dname, ecflags);
+ RB_GC_GUARD(snamev);
+ RB_GC_GUARD(dnamev);
+ rb_exc_raise(exc);
}
if (decorate_convpath(convpath, ecflags) == -1) {