Skip to content
Snippets Groups Projects
Commit f66ec6b1 authored by Oliver Sander's avatar Oliver Sander
Browse files

[bugfix] Make CreateLine return void instead of INT

There were code paths within CreateLine where the method did return a value,
and others where it didn't.  No caller of CreateLine actually considered
the return values at all.  Hence we may as well decide to not return anything
at all.  This should fix an issue reported by the undefined-behavior sanitizer.

Thanks to Carsten Gräser for pointing this out.
parent 59599545
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment