bookmaker fix Build-Debian9-GCC-x86_64 Debug
removed meaningless compare TBR=caryclark@google.com Bug: skia: Change-Id: Id4ce81a71d03deaa528b5470c5e4336ca649629e Reviewed-on: https://skia-review.googlesource.com/c/160561 Reviewed-by: Cary Clark <caryclark@skia.org> Commit-Queue: Cary Clark <caryclark@skia.org> Auto-Submit: Cary Clark <caryclark@skia.org>
This commit is contained in:
parent
8bbce0e29e
commit
a8df5563ed
@ -1909,7 +1909,7 @@ void MdOut::markTypeOut(Definition* def, const Definition** prior) {
|
||||
SkASSERT(MarkType::kTopic == grand->fMarkType);
|
||||
// use bmh file name to find include file name
|
||||
size_t start = grand->fFileName.rfind("Sk");
|
||||
SkASSERT(start != string::npos && start >= 0);
|
||||
SkASSERT(start != string::npos);
|
||||
size_t end = grand->fFileName.rfind("_Reference");
|
||||
SkASSERT(end != string::npos && end > start);
|
||||
string incName(grand->fFileName.substr(start, end - start));
|
||||
|
Loading…
Reference in New Issue
Block a user