https://git.reactos.org/?p=reactos.git;a=commitdiff;h=12b0dfb71ec0578acff8c…
commit 12b0dfb71ec0578acff8cebc3cfc61c4d154f85f
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Sun Feb 11 23:15:06 2018 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Mon Feb 12 12:34:20 2018 +0100
[APPSHIM_APITEST] Fix 2 Clang-Cl warnings about ok2
"warning: expression result unused [-Wunused-value]"
CORE-14306
---
modules/rostests/apitests/appshim/versionlie.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/rostests/apitests/appshim/versionlie.c
b/modules/rostests/apitests/appshim/versionlie.c
index aaac992c1e..5848f98aaf 100644
--- a/modules/rostests/apitests/appshim/versionlie.c
+++ b/modules/rostests/apitests/appshim/versionlie.c
@@ -62,7 +62,7 @@ static void verify_shima_imp(PHOOKAPI hook, const VersionLieInfo* info,
PCSTR sh
while (v1.dwOSVersionInfoSize)
{
- ok1 = GetVersionExA((LPOSVERSIONINFOA)&v1), ok2;
+ ok1 = GetVersionExA((LPOSVERSIONINFOA)&v1);
hook->OriginalFunction = GetVersionExA;
ok2 = ((GETVERSIONEXAPROC)hook->ReplacementFunction)(&v2);
@@ -127,7 +127,7 @@ static void verify_shimw_imp(PHOOKAPI hook, const VersionLieInfo*
info, PCSTR sh
while (v1.dwOSVersionInfoSize)
{
- ok1 = GetVersionExW((LPOSVERSIONINFOW)&v1), ok2;
+ ok1 = GetVersionExW((LPOSVERSIONINFOW)&v1);
hook->OriginalFunction = GetVersionExW;
ok2 = ((GETVERSIONEXWPROC)hook->ReplacementFunction)(&v2);