Michael Stefaniuc : windowscodecs: Remove redundant not-NULL check ( coccinellery).
Alexandre Julliard
julliard at winehq.org
Thu Feb 28 16:09:43 CST 2019
Module: wine
Branch: master
Commit: f34f621291da81fd855e5cb2a404b73ab780d7cc
URL: https://source.winehq.org/git/wine.git/?a=commit;h=f34f621291da81fd855e5cb2a404b73ab780d7cc
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Thu Feb 28 00:50:33 2019 +0100
windowscodecs: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/windowscodecs/metadataquery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/windowscodecs/metadataquery.c b/dlls/windowscodecs/metadataquery.c
index c4c188d..0a44c1e 100644
--- a/dlls/windowscodecs/metadataquery.c
+++ b/dlls/windowscodecs/metadataquery.c
@@ -925,7 +925,7 @@ HRESULT WINAPI WICMapSchemaToName(REFGUID format, LPWSTR schema, UINT len, WCHAR
return HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER);
}
- if (ret_len) *ret_len = lstrlenW(name2schema[i].name) + 1;
+ *ret_len = lstrlenW(name2schema[i].name) + 1;
return S_OK;
}
}
More information about the wine-cvs
mailing list