[PATCH] crypt32: In CRYPT_CollectionAdvanceEnum remove unneeded statement (cppcheck)

Fabian Maurer dark.shadow4 at web.de
Tue Oct 3 10:44:54 CDT 2017


Found by cppcheck.

Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
---
 dlls/crypt32/collectionstore.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/crypt32/collectionstore.c b/dlls/crypt32/collectionstore.c
index 8b90270453..2c2398d745 100644
--- a/dlls/crypt32/collectionstore.c
+++ b/dlls/crypt32/collectionstore.c
@@ -164,7 +164,6 @@ static context_t *CRYPT_CollectionAdvanceEnum(WINE_COLLECTIONSTORE *store,
         Context_AddRef(child);
         child = contextFuncs->enumContext(storeEntry->store, child);
         Context_Release(prev);
-        prev = NULL;
     }
     else
     {
-- 
2.14.2




More information about the wine-patches mailing list