aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/unittests/minidump_test.cc
diff options
context:
space:
mode:
authorivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-06-04 16:51:01 +0000
committerivan.penkov@gmail.com <ivan.penkov@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-06-04 16:51:01 +0000
commit6b46d4e872bfb6174a4832ab4d3a2d2c38d2cf4a (patch)
tree581ec70cc25a1a0958206d151993e270b37a49ee /src/client/windows/unittests/minidump_test.cc
parentThanks to Matthew Riley who noticed this issue and provided the initial propo... (diff)
downloadbreakpad-6b46d4e872bfb6174a4832ab4d3a2d2c38d2cf4a.tar.xz
Treat warnings as error and fix most level 4 warnings in the breakpad windows client projects.
Some of the lint errors in the files touched by this change were also fixed. BUG=533 Review URL: https://breakpad.appspot.com/601002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1189 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/unittests/minidump_test.cc')
-rw-r--r--src/client/windows/unittests/minidump_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/windows/unittests/minidump_test.cc b/src/client/windows/unittests/minidump_test.cc
index 62f212f8..e3097f28 100644
--- a/src/client/windows/unittests/minidump_test.cc
+++ b/src/client/windows/unittests/minidump_test.cc
@@ -161,7 +161,8 @@ bool HasFileInfo(const std::wstring& file_path) {
}
TEST_F(MinidumpTest, Version) {
- API_VERSION* version = ::ImagehlpApiVersion();
+ // Loads DbgHelp.dll in process
+ ImagehlpApiVersion();
HMODULE dbg_help = ::GetModuleHandle(L"dbghelp.dll");
ASSERT_TRUE(dbg_help != NULL);