mu: don't use __FUNCTION__, use __func__
__FUNCTION__ is deprecated and gives compilation warnings. __func__ is standardized in c99.
This commit is contained in:
@ -209,7 +209,7 @@ get_path (MuMsg *self)
|
||||
|
||||
/* shouldn't happen */
|
||||
if (!val)
|
||||
g_warning ("%s: cannot find path", __FUNCTION__);
|
||||
g_warning ("%s: cannot find path", __func__);
|
||||
|
||||
return free_later_str (self, val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user