mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
clang-tidy: don't return in void functions
Found with readability-redundant-control-flow Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Nick Wellnhofer
parent
4c3d22b059
commit
217e9b7af2
@@ -3980,7 +3980,6 @@ rollback:
|
||||
continue;
|
||||
progress:
|
||||
progress = 1;
|
||||
continue;
|
||||
}
|
||||
if (exec->status == XML_REGEXP_OK) {
|
||||
return(exec->state->type == XML_REGEXP_FINAL_STATE);
|
||||
@@ -4995,7 +4994,6 @@ xmlFAParseCharRange(xmlRegParserCtxtPtr ctxt) {
|
||||
xmlRegAtomAddRange(ctxt, ctxt->atom, ctxt->neg,
|
||||
XML_REGEXP_CHARVAL, start, end, NULL);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user