use else instead of else-if -- fixes 'possibly unused' warning

BUG=
R=bsalomon@google.com

Review URL: https://codereview.chromium.org/18527003

git-svn-id: http://skia.googlecode.com/svn/trunk@9863 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-07-02 14:44:27 +00:00
parent c3eb56db6b
commit a3e500cee9

View File

@ -175,7 +175,8 @@ static bool is_linear_inner(const SkDQuad& q1, double t1s, double t1e, const SkD
double tMin, tMax;
if (tCount == 1) {
tMin = tMax = tsFound[0];
} else if (tCount > 1) {
} else {
SkASSERT(tCount > 1);
SkTQSort<double>(tsFound.begin(), tsFound.end() - 1);
tMin = tsFound[0];
tMax = tsFound[tsFound.count() - 1];