From 34fe17515aad15743cd42b72140e4d3fd7f3ad28 Mon Sep 17 00:00:00 2001 From: Peter Kasting Date: Thu, 20 Nov 2014 16:04:57 -0800 Subject: [PATCH] Revert warning change that broke official builds Cr-Commit-Position: refs/heads/master@{#305114} --- build/common.gypi | 1 + build/config/compiler/BUILD.gn | 1 + 2 files changed, 2 insertions(+) diff --git a/build/common.gypi b/build/common.gypi index 77939bec9be6..63cd40c24742 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -5417,6 +5417,7 @@ # removed as code is fixed. 4100, # Unreferenced formal parameter 4121, # Alignment of a member was sensitive to packing + 4189, # Local variable is initialized but not referenced 4244, # Conversion from 'type1' to 'type2', possible loss of data 4481, # Nonstandard extension used: override specifier 'keyword' 4505, # Unreferenced local function has been removed diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn index ae12eda3ba7b..0d9e501a9be7 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -691,6 +691,7 @@ config("default_warnings") { "/wd4100", # Unreferenced formal function parameter. "/wd4121", # Alignment of a member was sensitive to packing. + "/wd4189", # A variable was declared and initialized but never used. "/wd4244", # Conversion: possible loss of data. "/wd4481", # Nonstandard extension: override specifier. "/wd4505", # Unreferenced local function has been removed. -- 2.11.4.GIT