chiark / gitweb /
rules: run input_id for main input devices too
[elogind.git] / extras / udev-acl / udev-acl.c
index 31e9991a51dded24a131409e6dac63cba1a35e2c..35bad76034972e23ff0e6295891b7b2e5518cdc4 100644 (file)
@@ -258,11 +258,6 @@ static int consolekit_called(const char *ck_action, uid_t *uid, uid_t *uid2, con
                        u = u2;
                }
                break;
-       case ACTION_NONE:
-               break;
-       default:
-               g_assert_not_reached();
-               break;
        }
 
        *remove_session_id = old_session;
@@ -364,7 +359,6 @@ int main (int argc, char* argv[])
                        break;
                case 'h':
                        printf("Usage: udev-acl --action=ACTION [--device=DEVICEFILE] [--user=UID]\n\n");
-               default:
                        goto out;
                }
        }