diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-07-19 19:04:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:44 -0500 |
commit | 728033178b74cbda9574ccdfe2329bae45312a60 (patch) | |
tree | 948d9418c0bd720a734009a7dcfed881594a88ce /source4/build/pidl/Parse/Pidl | |
parent | d99d06d954321331f8558da8604e1fd4dd956d13 (diff) | |
download | samba-728033178b74cbda9574ccdfe2329bae45312a60.tar.gz samba-728033178b74cbda9574ccdfe2329bae45312a60.tar.bz2 samba-728033178b74cbda9574ccdfe2329bae45312a60.zip |
r8613: Remove a couple of empty loops.
(This used to be commit 94e338805de465a3ec7d82aa599f09adfcc06bd8)
Diffstat (limited to 'source4/build/pidl/Parse/Pidl')
-rw-r--r-- | source4/build/pidl/Parse/Pidl/NDR.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/build/pidl/Parse/Pidl/NDR.pm b/source4/build/pidl/Parse/Pidl/NDR.pm index 33d7839a3a..64d61650f7 100644 --- a/source4/build/pidl/Parse/Pidl/NDR.pm +++ b/source4/build/pidl/Parse/Pidl/NDR.pm @@ -592,10 +592,13 @@ sub ContainsDeferred($$) { my ($e,$l) = @_; - do { + return 1 if ($l->{CONTAINS_DEFERRED}); + + while ($l = GetNextLevel($e,$l)) + { return 1 if ($l->{IS_DEFERRED}); return 1 if ($l->{CONTAINS_DEFERRED}); - } while ($l = GetNextLevel($e,$l)); + } return 0; } |