bookmaker fix build again
bookmaker fix build again
TBR=stani@google.com
NOTRY=true
Bug: skia:
Change-Id: I9a5f31512c7e696a900ea8c0a3b1364f0411f7ce
Reviewed-on: https://skia-review.googlesource.com/c/160602
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
diff --git a/tools/bookmaker/includeWriter.cpp b/tools/bookmaker/includeWriter.cpp
index 5891e95..69e4557 100644
--- a/tools/bookmaker/includeWriter.cpp
+++ b/tools/bookmaker/includeWriter.cpp
@@ -453,7 +453,7 @@
bool firstCodeBlocks = true;
bool wroteHeader = false;
bool lastAnchor = false;
- SkDEBUGCODE(bool foundConst = false);
+// SkDEBUGCODE(bool foundConst = false);
for (auto test : enumDef->fChildren) {
if (MarkType::kCode == test->fMarkType && firstCodeBlocks) {
codeBlock = test;
@@ -514,7 +514,7 @@
commentStart = test->fTerminator;
if (MarkType::kConst == test->fMarkType) {
SkASSERT(codeBlock); // FIXME: check enum for correct order earlier
- SkDEBUGCODE(foundConst = true);
+// SkDEBUGCODE(foundConst = true);
break;
}
}