summaryrefslogtreecommitdiffstats
path: root/sandbox/win
diff options
context:
space:
mode:
authorthakis <thakis@chromium.org>2015-12-07 14:57:49 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-07 22:58:41 +0000
commit1ecda6b500dbf76343bceace2ff3c8f60132f4ba (patch)
tree6a862f57e807491ba96593ae81b575b3da655a0a /sandbox/win
parent07a19a2bc8560ce5e99cd27a9830089683153046 (diff)
downloadchromium_src-1ecda6b500dbf76343bceace2ff3c8f60132f4ba.zip
chromium_src-1ecda6b500dbf76343bceace2ff3c8f60132f4ba.tar.gz
chromium_src-1ecda6b500dbf76343bceace2ff3c8f60132f4ba.tar.bz2
Reland of clang/win: Enable -Wunused-value completely. (patchset #1 id:1 of https://codereview.chromium.org/1501153002/ )
Reason for revert: This might now work in release builds too. Original issue's description: > Revert of clang/win: Enable -Wunused-value completely. (patchset #3 id:40001 of https://codereview.chromium.org/1500783002/ ) > > Reason for revert: > This works in debug builds but not in release builds yet. > > Original issue's description: > > clang/win: Enable -Wunused-value completely. > > > > BUG=505318 > > NOTRY=true > > > > Committed: https://crrev.com/b10a7ada601a07866d50cd13c6af4605e316152e > > Cr-Commit-Position: refs/heads/master@{#363327} > > TBR=hans@chromium.org,wfh@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=505318 > > Committed: https://crrev.com/9f1715d0cd8bb5c2bcfd00c55aff80e3fb0b7caf > Cr-Commit-Position: refs/heads/master@{#363331} TBR=hans@chromium.org,wfh@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=505318 Review URL: https://codereview.chromium.org/1507113002 Cr-Commit-Position: refs/heads/master@{#363618}
Diffstat (limited to 'sandbox/win')
-rw-r--r--sandbox/win/src/sid.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/win/src/sid.cc b/sandbox/win/src/sid.cc
index 261605d..19c645b 100644
--- a/sandbox/win/src/sid.cc
+++ b/sandbox/win/src/sid.cc
@@ -16,7 +16,7 @@ Sid::Sid(WELL_KNOWN_SID_TYPE type) {
DWORD size_sid = SECURITY_MAX_SID_SIZE;
BOOL result = ::CreateWellKnownSid(type, NULL, sid_, &size_sid);
DCHECK(result);
- DBG_UNREFERENCED_LOCAL_VARIABLE(result);
+ (void)result;
}
const SID *Sid::GetPSID() const {