From b5c286faa7dd1ec3d6ad59a490d9fbc615e00dbf Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Thu, 13 Sep 2018 14:55:59 +1200 Subject: [PATCH] Tweak to match coding conventions --- xapian-applications/omega/scriptindex.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xapian-applications/omega/scriptindex.cc b/xapian-applications/omega/scriptindex.cc index 6b58d28bd..2c98b08a8 100644 --- a/xapian-applications/omega/scriptindex.cc +++ b/xapian-applications/omega/scriptindex.cc @@ -886,7 +886,7 @@ again: if (docid) { database.delete_document(docid); if (verbose) cout << "Del: " << docid << endl; - delcount ++; + ++delcount; } } else { string data; @@ -907,7 +907,7 @@ again: try { database.replace_document(docid, doc); if (verbose) cout << "Replace: " << docid << endl; - repcount ++; + ++repcount; } catch (const Xapian::Error &e) { cerr << "E: " << e.get_description() << endl; // Possibly the document was deleted by another @@ -918,7 +918,7 @@ again: } else { docid = database.add_document(doc); if (verbose) cout << "Add: " << docid << endl; - addcount ++; + ++addcount; } } } -- 2.11.4.GIT