|
fix warnings on Mac in ssamplecode
Fix these class of warnings:
- unused functions
- unused locals
- sign mismatch
- missing function prototypes
- missing newline at end of file
- 64 to 32 bit truncation
The changes prefer to link in dead code in the debug build
with 'if (false)' than to comment it out, but trivial cases
are commented out or sometimes deleted if it appears to be
a copy/paste error.
Committed: https://code.google.com/p/skia/source/detail?r=4183
Total comments: 20
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+70 lines, -64 lines) |
Patch |
 |
M |
samplecode/OverView.cpp
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleAARectModes.cpp
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleAll.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleApp.cpp
|
View
|
1
|
9 chunks |
+18 lines, -2 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleArc.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
samplecode/SampleBlur.cpp
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleCircle.cpp
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleClip.cpp
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleColorFilter.cpp
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
samplecode/SampleGradients.cpp
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
samplecode/SampleHairModes.cpp
|
View
|
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleLineClipper.cpp
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
samplecode/SampleOverflow.cpp
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
samplecode/SamplePatch.cpp
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
samplecode/SamplePathClip.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
samplecode/SampleRegion.cpp
|
View
|
1
|
1 chunk |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleShaderText.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
samplecode/SampleSlides.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleStrokeText.cpp
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
samplecode/SampleTextAlpha.cpp
|
View
|
1
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
samplecode/SampleXfermodesBlur.cpp
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
samplecode/TransitionView.cpp
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
Total messages: 4
|