diff options
author | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2016-11-17 02:59:40 +0100 |
---|---|---|
committer | ftrvxmtrx <ftrvxmtrx@gmail.com> | 2016-11-17 02:59:40 +0100 |
commit | 0930f44febd25c27fb717e7323686e50c4fa0593 (patch) | |
tree | 397b0b732b628164fb078bdbe011a6ae453452a2 /sys/src/cmd/plumb | |
parent | c0d0f86b14593bbf608284b96920558756a69304 (diff) |
cmd: remove a bit of unused stuff
Diffstat (limited to 'sys/src/cmd/plumb')
-rw-r--r-- | sys/src/cmd/plumb/match.c | 8 | ||||
-rw-r--r-- | sys/src/cmd/plumb/rules.c | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/sys/src/cmd/plumb/match.c b/sys/src/cmd/plumb/match.c index 42a9232ff..b6b4f6d65 100644 --- a/sys/src/cmd/plumb/match.c +++ b/sys/src/cmd/plumb/match.c @@ -6,14 +6,6 @@ #include <plumb.h> #include "plumber.h" -static char* -nonnil(char *s) -{ - if(s == nil) - return ""; - return s; -} - int verbis(int obj, Plumbmsg *m, Rule *r) { diff --git a/sys/src/cmd/plumb/rules.c b/sys/src/cmd/plumb/rules.c index 26a298332..2b537fe21 100644 --- a/sys/src/cmd/plumb/rules.c +++ b/sys/src/cmd/plumb/rules.c @@ -144,7 +144,7 @@ char* getline(void) { static int n = 0; - static char *s, *incl; + static char *s; int c, i; i = 0; |