From 455dcfa963e60fd0a155210151eb272875239227 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 9 Dec 2018 01:22:16 +0000 Subject: Removed never-happening case get_uniq_filename never returns NULL but raises an exception on failure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- mjit.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'mjit.c') diff --git a/mjit.c b/mjit.c index aef4bd2fc8..0346d034db 100644 --- a/mjit.c +++ b/mjit.c @@ -443,11 +443,6 @@ init_header_filename(void) } pch_file = get_uniq_filename(0, MJIT_TMP_PREFIX "h", ".h.gch"); - if (pch_file == NULL) { - xfree(header_file); - header_file = NULL; - return FALSE; - } #else { static const char pch_name[] = MJIT_HEADER_INSTALL_DIR "/" MJIT_PRECOMPILED_HEADER_NAME; -- cgit v1.2.3