WebPositive: disable debug code.

should fix the debug build for WebPositive.
This commit is contained in:
Jérôme Duval 2018-01-12 16:45:16 +01:00
parent c0936b5a03
commit a820f1f01d

View File

@ -144,7 +144,7 @@ CookieWindow::CookieWindow(BRect frame, BNetworkCookieJar& jar)
.Add(fCookies) .Add(fCookies)
.AddGroup(B_HORIZONTAL, B_USE_DEFAULT_SPACING) .AddGroup(B_HORIZONTAL, B_USE_DEFAULT_SPACING)
.SetInsets(5, 5, 5, 5) .SetInsets(5, 5, 5, 5)
#if DEBUG #if 0
.Add(new BButton("import", B_TRANSLATE("Import" B_UTF8_ELLIPSIS), .Add(new BButton("import", B_TRANSLATE("Import" B_UTF8_ELLIPSIS),
NULL)) NULL))
.Add(new BButton("export", B_TRANSLATE("Export" B_UTF8_ELLIPSIS), .Add(new BButton("export", B_TRANSLATE("Export" B_UTF8_ELLIPSIS),
@ -303,7 +303,7 @@ CookieWindow::_AddDomain(BString domain, bool fake)
} }
} }
#if DEBUG #if 0
puts("=============================="); puts("==============================");
for (i = 0; i < fDomains->FullListCountItems(); i++) { for (i = 0; i < fDomains->FullListCountItems(); i++) {
BStringItem* t = (BStringItem*)fDomains->FullListItemAt(i); BStringItem* t = (BStringItem*)fDomains->FullListItemAt(i);