s4:dsdb: Replace early ‘continue’ with ‘if’ statement (CID 1414738)
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 6 Oct 2023 01:33:16 +0000 (14:33 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 13 Oct 2023 02:18:31 +0000 (02:18 +0000)
commitea561fea6fbaa0876cd1f43f2197afc809e76c20
tree186b3f137c795f4ce5c18f8ff987373c99a7b746
parentd4042e880f62bc7e3f40576a0763073f8464bc2b
s4:dsdb: Replace early ‘continue’ with ‘if’ statement (CID 1414738)

A ‘continue’ statement creates the misleading impression that this loop
executes more than once.

This also avoids ‘mem_ctx’ being leaked.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/schema/schema_convert_to_ol.c