projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b844c3c
)
lib/database.cc: fix misleading indentation
author
Tomi Ollila
<tomi.ollila@iki.fi>
Tue, 27 Sep 2016 15:06:52 +0000
(18:06 +0300)
committer
David Bremner
<david@tethera.net>
Wed, 28 Sep 2016 11:14:08 +0000
(08:14 -0300)
Found by gcc 6.1.1 -Wmisleading-indentation option (set by -Wall).
lib/database.cc
patch
|
blob
|
history
diff --git
a/lib/database.cc
b/lib/database.cc
index 392e8b2869842130e1372b52d5d9329d0151577e..4bfae0197cf9020089640294faad00b64885f468 100644
(file)
--- a/
lib/database.cc
+++ b/
lib/database.cc
@@
-1685,8
+1685,8
@@
notmuch_database_begin_atomic (notmuch_database_t *notmuch)
notmuch->atomic_nesting > 0)
goto DONE;
-
if (notmuch_database_needs_upgrade
(notmuch))
-
return NOTMUCH_STATUS_UPGRADE_REQUIRED;
+
if (notmuch_database_needs_upgrade
(notmuch))
+ return NOTMUCH_STATUS_UPGRADE_REQUIRED;
try {
(static_cast <Xapian::WritableDatabase *> (notmuch->xapian_db))->begin_transaction (false);