aboutsummaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-17 12:37:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-17 12:37:15 +0000
commit5d9fa3d5a5f80aaba6c255e069955a15df9b8656 (patch)
tree7ab61a9bc9c94ba8e9136d06077c27a1462b021f /error.c
parenta59410c833b43e756a5f8ea4c6be838311cb3432 (diff)
downloadruby-5d9fa3d5a5f80aaba6c255e069955a15df9b8656.tar.gz
error.c: remove unused function
* error.c (rb_compile_bug): remove unused function, which has never been exposed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/error.c b/error.c
index d841650c92..f5832694ea 100644
--- a/error.c
+++ b/error.c
@@ -442,14 +442,6 @@ rb_async_bug_errno(const char *mesg, int errno_arg)
}
void
-rb_compile_bug(const char *file, int line, const char *fmt, ...)
-{
- report_bug(file, line, fmt, NULL);
-
- abort();
-}
-
-void
rb_compile_bug_str(VALUE file, int line, const char *fmt, ...)
{
report_bug(RSTRING_PTR(file), line, fmt, NULL);