Skip to content

Commit f881aab

Browse files
committed
Get rid of NORETURN for rxml_raise since it may return.
1 parent 8911320 commit f881aab

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ext/libxml/ruby_xml_error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ static VALUE rxml_error_reset_handler(VALUE self)
158158
return self;
159159
}
160160

161-
NORETURN(void rxml_raise(const xmlError *xerror))
161+
void rxml_raise(const xmlError *xerror)
162162
{
163163
if (xerror)
164164
{

ext/libxml/ruby_xml_error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ extern VALUE eXMLError;
99

1010
void rxml_init_error(void);
1111
VALUE rxml_error_wrap(const xmlError *xerror);
12-
NORETURN(void rxml_raise(const xmlError *xerror));
12+
void rxml_raise(const xmlError *xerror);
1313

1414
#endif

0 commit comments

Comments
 (0)