Author: aandrejevic
Date: Tue Nov 12 21:55:05 2013
New Revision: 60967

URL: http://svn.reactos.org/svn/reactos?rev=60967&view=rev
Log:
[FAST486]
Don't return uninitialized variables.


Modified:
    branches/ntvdm/lib/fast486/opgroups.c

Modified: branches/ntvdm/lib/fast486/opgroups.c
URL: 
http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/opgroups.c?rev=60967&r1=60966&r2=60967&view=diff
==============================================================================
--- branches/ntvdm/lib/fast486/opgroups.c       [iso-8859-1] (original)
+++ branches/ntvdm/lib/fast486/opgroups.c       [iso-8859-1] Tue Nov 12 
21:55:05 2013
@@ -167,7 +167,11 @@
     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)


Reply via email to