smdev

suckless mdev
git clone git://git.suckless.org/smdev
Log | Files | Refs | README | LICENSE

commit 3432f0ce1619b8c0a8d81d87570c5873e3ef01b3
parent 747489d696c8992f06f279eda75dcda961af1869
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  7 Apr 2014 13:27:50 +0200

smdev: doevent, on unknown action return 0 directly

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Msmdev.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/smdev.c b/smdev.c @@ -344,9 +344,8 @@ doevent(struct event *ev) case REMOVE_ACTION: return removedev(ev); default: - break; + return 0; } - break; } return 0; }