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

Issue 601002: Fixing level 4 warnings (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by Ivan Penkov
Modified:
11 years, 3 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

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
Committed: https://code.google.com/p/google-breakpad/source/detail?r=1189

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 8

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 10

Patch Set 12 : #

Patch Set 13 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/windows/build/common.gypi View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M src/client/windows/handler/exception_handler.cc View 1 2 3 4 5 6 7 8 3 chunks +9 lines, -9 lines 0 comments Download
M src/client/windows/handler/exception_handler.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +5 lines, -7 lines 0 comments Download
M src/client/windows/tests/crash_generation_app/crash_generation_app.cc View 1 2 3 4 5 6 7 8 9 5 chunks +10 lines, -10 lines 0 comments Download
M src/client/windows/unittests/exception_handler_death_test.cc View 1 2 3 4 5 6 7 8 11 chunks +42 lines, -34 lines 0 comments Download
M src/client/windows/unittests/exception_handler_nesting_test.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -2 lines 0 comments Download
M src/client/windows/unittests/exception_handler_test.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/client/windows/unittests/minidump_test.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M src/common/string_conversion.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/common/windows/http_upload.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +16 lines, -10 lines 2 comments Download
M src/google_breakpad/processor/minidump.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M src/processor/minidump.cc View 1 2 3 4 5 6 7 8 9 10 11 12 19 chunks +80 lines, -44 lines 0 comments Download

Messages

Total messages: 11
Ivan Penkov
.
11 years, 3 months ago #1
Mark Mentovai
Not LGTM. Warnings complaining about unused parameters and |while (true)| are not useful. We don’t ...
11 years, 3 months ago #2
Ivan Penkov
On 2013/05/30 12:35:55, Mark Mentovai wrote: > Not LGTM. > > Warnings complaining about unused ...
11 years, 3 months ago #3
Mark Mentovai
https://breakpad.appspot.com/601002/diff/13001/src/client/windows/build/common.gypi File src/client/windows/build/common.gypi (right): https://breakpad.appspot.com/601002/diff/13001/src/client/windows/build/common.gypi#newcode1 src/client/windows/build/common.gypi:1: # Copyright (c) 2010, Google Inc. In the CL ...
11 years, 3 months ago #4
Ivan Penkov
. https://breakpad.appspot.com/601002/diff/13001/src/client/windows/build/common.gypi File src/client/windows/build/common.gypi (right): https://breakpad.appspot.com/601002/diff/13001/src/client/windows/build/common.gypi#newcode1 src/client/windows/build/common.gypi:1: # Copyright (c) 2010, Google Inc. On 2013/05/30 ...
11 years, 3 months ago #5
Mark Mentovai
LGTM https://breakpad.appspot.com/601002/diff/13002/src/client/windows/handler/exception_handler.h File src/client/windows/handler/exception_handler.h (right): https://breakpad.appspot.com/601002/diff/13002/src/client/windows/handler/exception_handler.h#newcode66 src/client/windows/handler/exception_handler.h:66: #pragma warning(disable : 4530) You seem to be ...
11 years, 3 months ago #6
Mark Mentovai
https://breakpad.appspot.com/601002/diff/13002/src/common/windows/http_upload.cc File src/common/windows/http_upload.cc (right): https://breakpad.appspot.com/601002/diff/13002/src/common/windows/http_upload.cc#newcode340 src/common/windows/http_upload.cc:340: unsigned int uint_length = static_cast<unsigned int>(length); What are you ...
11 years, 3 months ago #7
Ivan Penkov
. https://breakpad.appspot.com/601002/diff/13002/src/client/windows/handler/exception_handler.h File src/client/windows/handler/exception_handler.h (right): https://breakpad.appspot.com/601002/diff/13002/src/client/windows/handler/exception_handler.h#newcode66 src/client/windows/handler/exception_handler.h:66: #pragma warning(disable : 4530) On 2013/05/31 03:48:52, Mark ...
11 years, 3 months ago #8
Mark Mentovai
LGTM https://breakpad.appspot.com/601002/diff/25001/src/common/windows/http_upload.cc File src/common/windows/http_upload.cc (right): https://breakpad.appspot.com/601002/diff/25001/src/common/windows/http_upload.cc#newcode343 src/common/windows/http_upload.cc:343: if (static_cast<std::streamoff>(vector_size) == length) { I thought that ...
11 years, 3 months ago #9
Ivan Penkov
. https://breakpad.appspot.com/601002/diff/25001/src/common/windows/http_upload.cc File src/common/windows/http_upload.cc (right): https://breakpad.appspot.com/601002/diff/25001/src/common/windows/http_upload.cc#newcode343 src/common/windows/http_upload.cc:343: if (static_cast<std::streamoff>(vector_size) == length) { On 2013/06/04 13:19:41, ...
11 years, 3 months ago #10
Mark Mentovai
11 years, 3 months ago #11
Message was sent while issue was closed.
LGTM
Sign in to reply to this message.

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