Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1207)

Unified Diff: win8/metro_driver/metro_driver.cc

Issue 1261953003: clang/win: Build chromium_code with -Wunused-function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/win/audio_device_listener_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/metro_driver.cc
diff --git a/win8/metro_driver/metro_driver.cc b/win8/metro_driver/metro_driver.cc
index 4eedfdc0ae31d9a6b7f99f28601691debfdb85f8..650b23837612ff9539939730c9b113da5a24c525 100644
--- a/win8/metro_driver/metro_driver.cc
+++ b/win8/metro_driver/metro_driver.cc
@@ -18,6 +18,7 @@
namespace {
+#if !defined(NDEBUG)
LONG WINAPI ErrorReportingHandler(EXCEPTION_POINTERS* ex_info) {
// See roerrorapi.h for a description of the
// exception codes and parameters.
@@ -34,6 +35,7 @@ LONG WINAPI ErrorReportingHandler(EXCEPTION_POINTERS* ex_info) {
return EXCEPTION_CONTINUE_SEARCH;
}
+#endif
void SetMetroReportingFlags() {
#if !defined(NDEBUG)
« no previous file with comments | « media/audio/win/audio_device_listener_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698