diff --git a/reactos/lib/advapi32/reg/reg.c b/reactos/lib/advapi32/reg/reg.c index 8b8f27fa2d9..09c5207f887 100644 --- a/reactos/lib/advapi32/reg/reg.c +++ b/reactos/lib/advapi32/reg/reg.c @@ -518,7 +518,6 @@ RegpCopyTree(IN HKEY hKeySrc, NtClose(NewKeyHandle); Status2 = STATUS_INSUFFICIENT_RESOURCES; - goto GoNextKey; } } else @@ -527,7 +526,6 @@ RegpCopyTree(IN HKEY hKeySrc, } } -GoNextKey: if (!NT_SUCCESS(Status2) && NT_SUCCESS(Status)) { Status = Status2;