From: Aleksandar Andrejevic Date: Tue, 12 Nov 2013 21:55:05 +0000 (+0000) Subject: [FAST486] X-Git-Tag: backups/0.3.17@66124~1365^2~242 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=677810ea957da2aa4694cb13cda13eba4ea7d5d4;hp=2da0e38fbcbad9f35e311834f0fc025d0936074e [FAST486] Don't return uninitialized variables. svn path=/branches/ntvdm/; revision=60967 --- diff --git a/lib/fast486/opgroups.c b/lib/fast486/opgroups.c index a944e8d8939..a721c89bb36 100644 --- a/lib/fast486/opgroups.c +++ b/lib/fast486/opgroups.c @@ -167,7 +167,11 @@ Fast486RotateOperation(PFAST486_STATE State, Count &= 0x1F; /* If the count is zero, do nothing */ - if (Count == 0) goto SetFlags; + if (Count == 0) + { + Result = Value; + goto SetFlags; + } /* Check which operation is this */ switch (Operation)