Skip to content
Snippets Groups Projects
Commit 01146582 authored by Torge Matthies's avatar Torge Matthies Committed by Alexandre Julliard
Browse files

kernelbase: Break out of inner for-loop early in find_substring.


If I'm interpreting this code correctly, once either of these two
if-conditions are true once, they will also be true at some point
during all of the remaining iterations of the for-loop. Thus, we can
just stop the for-loop here.

Signed-off-by: default avatarTorge Matthies <tmatthies@codeweavers.com>
parent b7cccbce
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