projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix couple of trivial warnings reported by MSVC
[platform/upstream/VK-GL-CTS.git]
/
framework
/
delibs
/
deutil
/
deTimer.c
diff --git
a/framework/delibs/deutil/deTimer.c
b/framework/delibs/deutil/deTimer.c
index
36f8190
..
bf8ceae
100644
(file)
--- a/
framework/delibs/deutil/deTimer.c
+++ b/
framework/delibs/deutil/deTimer.c
@@
-131,7
+131,9
@@
void deTimer_disable (deTimer* timer)
if (success)
{
/* Wait for all callbacks to complete. */
if (success)
{
/* Wait for all callbacks to complete. */
- DE_VERIFY(WaitForSingleObject(waitEvent, INFINITE) == WAIT_OBJECT_0);
+ DWORD res = WaitForSingleObject(waitEvent, INFINITE);
+ DE_ASSERT(res == WAIT_OBJECT_0);
+ DE_UNREF(res);
break;
}
else
break;
}
else