Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 944003: Use a proper ignore_result() to fix a ftruncate warn_unused_result warning with GCC 4.8. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by Lei Zhang (chromium)
Modified:
10 years, 5 months ago
Reviewers:
Mark Mentovai
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Use a proper ignore_result() to fix a ftruncate warn_unused_result warning with
GCC 4.8.

BUG=492
R=mark@chromium.org

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1266

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/handler/exception_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/common/basictypes.h View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 5
Lei Zhang (chromium)
In addition to static_cast<void>() being described as ugly in r1027, it also doesn't work on ...
10 years, 5 months ago #1
Mark Mentovai
https://breakpad.appspot.com/944003/diff/1/src/common/basictypes.h File src/common/basictypes.h (right): https://breakpad.appspot.com/944003/diff/1/src/common/basictypes.h#newcode45 src/common/basictypes.h:45: // that has been marked WARN_UNUSED_RESULT, wrap it with ...
10 years, 5 months ago #2
Mark Mentovai
LGTM
10 years, 5 months ago #3
Lei Zhang (chromium)
https://breakpad.appspot.com/944003/diff/1/src/common/basictypes.h File src/common/basictypes.h (right): https://breakpad.appspot.com/944003/diff/1/src/common/basictypes.h#newcode45 src/common/basictypes.h:45: // that has been marked WARN_UNUSED_RESULT, wrap it with ...
10 years, 5 months ago #4
Lei Zhang (chromium)
10 years, 5 months ago #5
Message was sent while issue was closed.
Committed patchset #2 manually as r1266 (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted