mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
ab73ef6b70
commit
455dcfa963
1 changed files with 0 additions and 5 deletions
5
mjit.c
5
mjit.c
|
@ -443,11 +443,6 @@ init_header_filename(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
pch_file = get_uniq_filename(0, MJIT_TMP_PREFIX "h", ".h.gch");
|
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
|
#else
|
||||||
{
|
{
|
||||||
static const char pch_name[] = MJIT_HEADER_INSTALL_DIR "/" MJIT_PRECOMPILED_HEADER_NAME;
|
static const char pch_name[] = MJIT_HEADER_INSTALL_DIR "/" MJIT_PRECOMPILED_HEADER_NAME;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue