remove an extraneous g_warning

This commit is contained in:
Dana Jansens 2003-03-26 13:27:39 +00:00
parent 6d97bd517f
commit c473d5f80a

View file

@ -49,10 +49,8 @@ gboolean kbind(GList *keylist, Action *action)
g_assert(keylist != NULL);
g_assert(action != NULL);
if (!(tree = tree_build(keylist))) {
g_warning("invalid binding");
if (!(tree = tree_build(keylist)))
return FALSE;
}
if ((t = tree_find(tree, &conflict)) != NULL) {
/* already bound to something */
g_warning("keychain is already bound");