Alex Henrie : windowscodecs: Avoid dead assignment (scan-build).

Alexandre Julliard julliard at winehq.org
Tue Sep 17 16:22:49 CDT 2019


Module: wine
Branch: master
Commit: f3c1123aec2c762c7ed051cd57ecd4da7d26f7d9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f3c1123aec2c762c7ed051cd57ecd4da7d26f7d9

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Sun Sep 15 23:40:31 2019 -0600

windowscodecs: Avoid dead assignment (scan-build).

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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++;




More information about the wine-cvs mailing list