[PATCH] shlwapi: Fix initializer causing compiler warning
Nikolay Sivov
nsivov at codeweavers.com
Thu Jan 7 08:09:47 CST 2016
Spotted by Józef.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
gcc 5.3.1 doesn't warn about it, but 4.9.3 does.
dlls/shlwapi/stopwatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shlwapi/stopwatch.c b/dlls/shlwapi/stopwatch.c
index c7b4356..fcee075 100644
--- a/dlls/shlwapi/stopwatch.c
+++ b/dlls/shlwapi/stopwatch.c
@@ -190,7 +190,7 @@ void WINAPI StopWatch_MarkJavaStop(LPCWSTR lpszEvent, HWND hWnd, DWORD dwReserve
*/
DWORD WINAPI GetPerfTime(void)
{
- static LARGE_INTEGER iCounterFreq = { 0 };
+ static LARGE_INTEGER iCounterFreq = { {0} };
LARGE_INTEGER iCounter;
TRACE("()\n");
--
2.6.4
More information about the wine-patches
mailing list