* fix compiler warnings for gcc 4.5

This commit is contained in:
Dirk-Jan C. Binnema 2011-04-15 08:49:04 +03:00
parent 5cbaf34cfa
commit c6fb50b166
3 changed files with 5 additions and 5 deletions

View File

@ -54,9 +54,9 @@ gboolean
mu_util_xapian_set_metadata (const gchar *xpath,
const gchar *key, const gchar *val)
{
g_return_val_if_fail (xpath, NULL);
g_return_val_if_fail (key, NULL);
g_return_val_if_fail (val, NULL);
g_return_val_if_fail (xpath, FALSE);
g_return_val_if_fail (key, FALSE);
g_return_val_if_fail (val, FALSE);
if (!access(xpath, F_OK) == 0) {
g_warning ("cannot access %s: %s", xpath, strerror(errno));

View File

@ -302,7 +302,7 @@ empty_or_display_contact (const gchar * str)
}
static MugError
mu_result_to_mug_error (MuResult r)
mu_result_to_mug_error (MuError r)
{
switch (r) {
case MU_ERROR_XAPIAN_DIR:

View File

@ -302,7 +302,7 @@ empty_or_display_contact (const gchar * str)
}
static MugError
mu_result_to_mug_error (MuResult r)
mu_result_to_mug_error (MuError r)
{
switch (r) {
case MU_ERROR_XAPIAN_DIR: