mu: don't use __FUNCTION__, use __func__
__FUNCTION__ is deprecated and gives compilation warnings. __func__ is standardized in c99.
This commit is contained in:
@ -108,7 +108,7 @@ mu_store_database_is_locked (const gchar *xpath)
|
||||
} catch (const Xapian::DatabaseLockError& xer) {
|
||||
return TRUE;
|
||||
} catch (const Xapian::Error &xer) {
|
||||
g_warning ("%s: error: %s", __FUNCTION__,
|
||||
g_warning ("%s: error: %s", __func__,
|
||||
xer.get_msg().c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user