| Index: src/pathops/SkOpAngle.cpp
|
| diff --git a/src/pathops/SkOpAngle.cpp b/src/pathops/SkOpAngle.cpp
|
| index 0ac5a3da78dfc5bb6ac9eb2083d97871a38feaec..0dd0d65f79553506e54edd4c9b98f33a97cc5fe8 100644
|
| --- a/src/pathops/SkOpAngle.cpp
|
| +++ b/src/pathops/SkOpAngle.cpp
|
| @@ -22,7 +22,7 @@ static const int bugChar = strlen(funcName) + 1;
|
|
|
| #if DEBUG_ANGLE
|
| static bool CompareResult(SkString* bugOut, const char* append, bool compare) {
|
| - bugOut->appendf(append);
|
| + bugOut->appendf("%s", append);
|
| bugOut->writable_str()[bugChar] = "><"[compare];
|
| SkDebugf("%s\n", bugOut->c_str());
|
| return compare;
|
| @@ -141,7 +141,7 @@ bool SkOpAngle::operator<(const SkOpAngle& rh) const { // this/lh: left-hand; r
|
| }
|
| }
|
| if (fSide * rh.fSide == 0) {
|
| - SkASSERT(fSide + rh.fSide != 0);
|
| + SkASSERT(fSide + rh.fSide != 0); // hitting this assert means coincidence was undetected
|
| return COMPARE_RESULT("9 fSide * rh.fSide == 0 ...", fSide < rh.fSide);
|
| }
|
| // at this point, the initial tangent line is nearly coincident
|
|
|