[ADVAPI32] silence debug spam
authorChristoph von Wittich <christoph_vw@reactos.org>
Mon, 25 Jul 2016 11:07:44 +0000 (11:07 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Mon, 25 Jul 2016 11:07:44 +0000 (11:07 +0000)
svn path=/trunk/; revision=71995

reactos/dll/win32/advapi32/reg/hkcr.c

index 13fa040..2756685 100644 (file)
@@ -746,8 +746,8 @@ EnumHKCRKey(
             NULL);
         if (ErrorCode != ERROR_SUCCESS)
         {
-            /* Most likely ERROR_NO_MORE_ITEMS */
-            ERR("Returning %d.\n", ErrorCode);
+            if (ErrorCode != ERROR_NO_MORE_ITEMS)
+                ERR("Returning %d.\n", ErrorCode);
             goto Exit;
         }
         FallbackSubKeyName[FallbackSubkeyLen] = L'\0';