|
Fixes for re-enabling more MSVC level 4 warnings: base/ edition
This contains fixes for the following sorts of issues:
* Signedness mismatch
* Assignment inside conditional
* Nonstandard extension: unnamed struct/union
* Octal escape sequence terminated by decimal number
* Possibly-uninitialized local variable
This also contains a very small number of other cleanups/simplifications to
nearby code.
BUG= 81439
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281204
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+106 lines, -69 lines) |
Patch |
 |
M |
base/basictypes.h
|
View
|
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
base/debug/trace_event_unittest.cc
|
View
|
|
2 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
base/debug/trace_event_win.h
|
View
|
|
5 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
base/debug/trace_event_win.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/debug/trace_event_win_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/i18n/break_iterator.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
base/metrics/stats_table.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/process/kill_win.cc
|
View
|
|
3 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
 |
M |
base/strings/safe_sprintf.h
|
View
|
1
2
3
|
2 chunks |
+41 lines, -11 lines |
0 comments
|
Download
|
 |
M |
base/strings/safe_sprintf.cc
|
View
|
|
5 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
base/strings/safe_sprintf_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
base/strings/string_number_conversions_unittest.cc
|
View
|
1
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
base/strings/string_util_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/time/time_win.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|