Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1581)

Unified Diff: chrome/browser/history/in_memory_database.cc

Issue 9005036: [sql] WARN_UNUSED_RESULT on Execute(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile error in quota_database_unittest.cc. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/history/history_database.cc ('k') | chrome/browser/history/shortcuts_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/in_memory_database.cc
diff --git a/chrome/browser/history/in_memory_database.cc b/chrome/browser/history/in_memory_database.cc
index a2ee461405edfe55757f6f5d2bf1c473630493c9..cf64b5a4f9c71a489d0229e4cea136695089d379 100644
--- a/chrome/browser/history/in_memory_database.cc
+++ b/chrome/browser/history/in_memory_database.cc
@@ -29,10 +29,10 @@ bool InMemoryDatabase::InitDB() {
}
// No reason to leave data behind in memory when rows are removed.
- db_.Execute("PRAGMA auto_vacuum=1");
+ ignore_result(db_.Execute("PRAGMA auto_vacuum=1"));
// Ensure this is really an in-memory-only cache.
- db_.Execute("PRAGMA temp_store=MEMORY");
+ ignore_result(db_.Execute("PRAGMA temp_store=MEMORY"));
// Create the URL table, but leave it empty for now.
if (!CreateURLTable(false)) {
« no previous file with comments | « chrome/browser/history/history_database.cc ('k') | chrome/browser/history/shortcuts_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698