Projects
Kolab:3.4
cyrus-imapd
0002-A-non-void-function-should-return-somethin...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-A-non-void-function-should-return-something-so-retur.patch of Package cyrus-imapd (Revision 52)
Currently displaying revision
52
,
Show latest
From 49a177f85e57c4a3c2613bf72ae492bc4b855caf Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" <vanmeeuwen@kolabsys.com> Date: Sat, 8 Mar 2014 23:49:04 +0100 Subject: [PATCH 2/6] A non void function should return something, so return 0 --- imap/xapian_wrap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imap/xapian_wrap.cpp b/imap/xapian_wrap.cpp index 47d904f..ea96b87 100644 --- a/imap/xapian_wrap.cpp +++ b/imap/xapian_wrap.cpp @@ -291,6 +291,7 @@ xapian_query_t *xapian_query_new_match(const xapian_db_t *db, const char *prefix catch (const Xapian::Error &err) { syslog(LOG_ERR, "IOERROR: Xapian: caught exception: %s: %s", err.get_context().c_str(), err.get_description().c_str()); + return 0; } } -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.