mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gdbusauthmechanismsha1: Fix return type in precondition guards
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
6bf221c441
commit
f4dc46db45
@ -462,8 +462,8 @@ keyring_acquire_lock (const gchar *path,
|
||||
#endif
|
||||
int errsv;
|
||||
|
||||
g_return_val_if_fail (path != NULL, FALSE);
|
||||
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
|
||||
g_return_val_if_fail (path != NULL, -1);
|
||||
g_return_val_if_fail (error == NULL || *error == NULL, -1);
|
||||
|
||||
ret = -1;
|
||||
lock = g_strdup_printf ("%s.lock", path);
|
||||
|
Loading…
Reference in New Issue
Block a user