cleanup suggested by Geoff Collyer

This commit is contained in:
Russ Cox 2011-01-02 18:33:44 -05:00
parent 7211f00b30
commit 6fb8584800
2 changed files with 2 additions and 2 deletions

View File

@ -448,7 +448,7 @@ oserrstr(void)
long long
showfilewrite(char *a, int n) showfilewrite(char *a, int n)
{ {
Rune *action, *arg, *cmd, *p; Rune *action, *arg, *cmd;
static Rune Lopen[] = { 'o', 'p', 'e', 'n', 0 }; static Rune Lopen[] = { 'o', 'p', 'e', 'n', 0 };
cmd = runesmprint("%.*s", n, a); cmd = runesmprint("%.*s", n, a);

View File

@ -1199,7 +1199,7 @@ msgClear(Msg *m)
switch(m->tag) { switch(m->tag) {
default: default:
sysfatal("msgClear: unknown message type: %d\n", m->tag); sysfatal("msgClear: unknown message type: %d", m->tag);
case HHelloRequest: case HHelloRequest:
break; break;
case HClientHello: case HClientHello: