Skip to content

Commit d77801a

Browse files
Potential fix for code scanning alert no. 67: Explicit returns mixed with implicit (fall through) returns
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 8dc88ee commit d77801a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/svglib/svglib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ def renderUse(
956956
self.renderNode(list(node.iter_children())[-1], parent=group)
957957
self.apply_node_attr_to_group(node, group)
958958
return group
959-
959+
return None
960960

961961
class SvgShapeConverter:
962962
"""An abstract SVG shape converter.

0 commit comments

Comments
 (0)