[PATCH] windowscodecs: Avoid dead assignment (scan-build)

Alex Henrie alexhenrie24 at gmail.com
Mon Sep 16 00:40:31 CDT 2019


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 dlls/windowscodecs/metadataquery.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/windowscodecs/metadataquery.c b/dlls/windowscodecs/metadataquery.c
index 0a44c1e5c8..7934042754 100644
--- a/dlls/windowscodecs/metadataquery.c
+++ b/dlls/windowscodecs/metadataquery.c
@@ -242,7 +242,6 @@ static HRESULT get_token(struct string_t *elem, PROPVARIANT *id, PROPVARIANT *sc
         bstr = next_token.u.bstrVal;
 
         end++;
-        p = end;
         while (*end && *end != '}' && end - start < elem->len)
         {
             if (*end == '\\') end++;
-- 
2.23.0




More information about the wine-devel mailing list