|
eliminate all warnings in non-thirdparty code on mac
Most of these issues were due to functions whose definitions appear in header files; I changed those functions to be 'static inline' instead of just 'static' or 'inline', which kills the warning for such functions.
Other functions that were static or anonymous-namespaced but were unused in cpp files were probably called at some point but are no longer; someone who knows more than I do should probably scrub all the functions I either deleted or #if 0'ed out and make sure that the right thing is happening here.
Lots of unused variables removed, and one nasty const issue handled.
There remains a single warning in thirdparty/externals/cityhash/src/city.cc on line 146 related to a signed/unsigned mismatch. I don't know if we have control over this library so I didn't fix this one, but perhaps someone could do something about that one.
BUG=
Committed: https://code.google.com/p/skia/source/detail?r=7051
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+94 lines, -168 lines) |
Patch |
|
M |
bench/ChecksumBench.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
bench/ChromeBench.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
bench/Matrix44Bench.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
bench/RTreeBench.cpp
|
View
|
|
4 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
|
M |
experimental/AndroidPathRenderer/AndroidPathRenderer.cpp
|
View
|
|
9 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
experimental/Debugger/DebuggerViews.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
gm/blurrect.cpp
|
View
|
1
|
2 chunks |
+0 lines, -15 lines |
0 comments
|
Download
|
|
M |
gm/giantbitmap.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
gm/tilemodes.cpp
|
View
|
1
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
M |
gyp/common_conditions.gypi
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
gyp/utils.gyp
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/core/SkBitmapProcState_matrixProcs.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/core/SkConfig8888.h
|
View
|
|
2 chunks |
+9 lines, -22 lines |
0 comments
|
Download
|
|
M |
src/core/SkUtilsArm.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkGradientShaderPriv.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/effects/gradients/SkLinearGradient.cpp
|
View
|
1
|
2 chunks |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrClipMaskManager.cpp
|
View
|
1
|
2 chunks |
+0 lines, -27 lines |
0 comments
|
Download
|
|
M |
src/gpu/GrDrawTarget.cpp
|
View
|
1
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
src/gpu/GrTDArray.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/gpu/SkGpuDevice.cpp
|
View
|
1
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
src/gpu/gl/GrGLSL.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/opts/SkBitmapProcState_opts_SSE2.cpp
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/views/mac/SkOptionsTableView.mm
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/ClipStackTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/ColorTest.cpp
|
View
|
|
8 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
tests/DataRefTest.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
tests/DrawPathTest.cpp
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
tests/MathTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tests/TLSTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
tools/filtermain.cpp
|
View
|
1
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
Total messages: 7
|