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

Issue 7067044: eliminate all warnings in non-thirdparty code on mac (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by Humper
Modified:
11 years, 8 months ago
Reviewers:
DerekS, bsalomon, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 2

Patch Set 2 : Change commented out things to deleted things (mostly) #

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

Messages

Total messages: 7
Humper
11 years, 8 months ago (2013-01-05 07:45:44 UTC) #1
reed1
lgtm for non gpu files
11 years, 8 months ago (2013-01-07 14:44:10 UTC) #2
bsalomon
lgtm modulo turning a couple comment-outs into deletions. I cannot believe we still have GrTDArray. ...
11 years, 8 months ago (2013-01-07 14:47:02 UTC) #3
Humper
On 2013/01/07 14:47:02, bsalomon wrote: > lgtm modulo turning a couple comment-outs into deletions. > ...
11 years, 8 months ago (2013-01-07 15:16:24 UTC) #4
bsalomon
On 2013/01/07 15:16:24, Humper wrote: > On 2013/01/07 14:47:02, bsalomon wrote: > > lgtm modulo ...
11 years, 8 months ago (2013-01-07 15:17:31 UTC) #5
Humper
11 years, 8 months ago (2013-01-07 16:46:24 UTC) #6
bsalomon
11 years, 8 months ago (2013-01-07 16:47:48 UTC) #7
On 2013/01/07 16:46:24, Humper wrote:

lgtm
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b