From: Tomi Ollila <tomi.ollila@iki.fi>
To: notmuch@notmuchmail.org
Cc: tomi.ollila@iki.fi
Subject: [PATCH] lib/database.cc: fix misleading indentation
Date: Tue, 27 Sep 2016 18:06:52 +0300 [thread overview]
Message-ID: <1474988812-21365-1-git-send-email-tomi.ollila@iki.fi> (raw)
Found by gcc 6.1.1 -Wmisleading-indentation option (set by -Wall).
---
I suggest this change to be included in 0.23: this does not affect
binary content and this will give users of gcc 6 more enjoyable
compilation experience.
lib/database.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/database.cc b/lib/database.cc
index 392e8b2..4bfae01 100644
--- 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);
--
2.7.4
next reply other threads:[~2016-09-27 15:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-27 15:06 Tomi Ollila [this message]
2016-09-28 11:20 ` [PATCH] lib/database.cc: fix misleading indentation David Bremner
2016-10-20 12:54 ` Franz Fellner
2016-10-20 16:47 ` David Bremner
2016-10-20 18:30 ` Franz Fellner
2016-10-20 23:45 ` David Bremner
2016-10-21 6:42 ` Franz Fellner
2016-10-21 7:01 ` Mark Walters
2016-10-21 13:54 ` editorconfig David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1474988812-21365-1-git-send-email-tomi.ollila@iki.fi \
--to=tomi.ollila@iki.fi \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).