From f3c1123aec2c762c7ed051cd57ecd4da7d26f7d9 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Sun, 15 Sep 2019 23:40:31 -0600 Subject: [PATCH] windowscodecs: Avoid dead assignment (scan-build). Signed-off-by: Alex Henrie Signed-off-by: Vincent Povirk Signed-off-by: Alexandre Julliard --- dlls/windowscodecs/metadataquery.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dlls/windowscodecs/metadataquery.c b/dlls/windowscodecs/metadataquery.c index 0a44c1e5c8f..79340427547 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++;