Skip to content

Commit 7d9b0e3

Browse files
committed
Rage against the paranthesis
1 parent ba32cfd commit 7d9b0e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/pyexpat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static inline void _Py_NO_SANITIZE_UNDEFINED
116116
CALL_XML_HANDLER_SETTER(const struct HandlerInfo *handler_info,
117117
XML_Parser xml_parser, xmlhandler xml_handler)
118118
{
119-
xmlhandlersetter setter = (xmlhandlersetter)(handler_info->setter);
119+
xmlhandlersetter setter = (xmlhandlersetter)handler_info->setter;
120120
setter(xml_parser, xml_handler);
121121
}
122122

@@ -592,7 +592,7 @@ my_ElementDeclHandler(void *userData,
592592

593593
if (flush_character_buffer(self) < 0)
594594
goto finally;
595-
modelobj = conv_content_model(model, (conv_string_to_unicode_void));
595+
modelobj = conv_content_model(model, conv_string_to_unicode_void);
596596
if (modelobj == NULL) {
597597
flag_error(self);
598598
goto finally;

0 commit comments

Comments
 (0)