cyrus-imapd/24af24aa77144e0c1ab976657833b470502be7a8.patch
2018-02-26 16:17:33 -06:00

24 lines
782 B
Diff

From 24af24aa77144e0c1ab976657833b470502be7a8 Mon Sep 17 00:00:00 2001
From: Robert Stepanek <rsto@fastmail.com>
Date: Mon, 26 Feb 2018 22:00:34 +0100
Subject: [PATCH] xapian_wrap.cpp: change set_stem_version signature to return
void
---
imap/xapian_wrap.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/imap/xapian_wrap.cpp b/imap/xapian_wrap.cpp
index 0afb73674..ce07cdcf6 100644
--- a/imap/xapian_wrap.cpp
+++ b/imap/xapian_wrap.cpp
@@ -259,7 +259,7 @@ static int stem_version_get(Xapian::Database *database)
return version;
}
-static int stem_version_set(Xapian::WritableDatabase *database, int version)
+static void stem_version_set(Xapian::WritableDatabase *database, int version)
{
std::ostringstream convert;
convert << version;