]> git.notmuchmail.org Git - notmuch/commitdiff
lib/database.cc: fix misleading indentation
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 27 Sep 2016 15:06:52 +0000 (18:06 +0300)
committerDavid 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

index 392e8b2869842130e1372b52d5d9329d0151577e..4bfae0197cf9020089640294faad00b64885f468 100644 (file)
@@ -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);