зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
5e08452993
Коммит
912948c7f5
8
error.c
8
error.c
|
@ -441,14 +441,6 @@ rb_async_bug_errno(const char *mesg, int errno_arg)
|
|||
abort();
|
||||
}
|
||||
|
||||
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, ...)
|
||||
{
|
||||
|
|
|
@ -850,7 +850,6 @@ VALUE rb_nmin_run(VALUE obj, VALUE num, int by, int rev, int ary);
|
|||
extern VALUE rb_eEAGAIN;
|
||||
extern VALUE rb_eEWOULDBLOCK;
|
||||
extern VALUE rb_eEINPROGRESS;
|
||||
NORETURN(PRINTF_ARGS(void rb_compile_bug(const char*, int, const char*, ...), 3, 4));
|
||||
NORETURN(PRINTF_ARGS(void rb_compile_bug_str(VALUE file, int line, const char *fmt, ...), 3, 4));
|
||||
PRINTF_ARGS(void rb_compile_error_str(VALUE file, int line, void *enc, const char *fmt, ...), 4, 5);
|
||||
VALUE rb_check_backtrace(VALUE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче