Add missing breaks in switch statement. Found by cppcheck.

This commit is contained in:
wiz 2011-01-04 09:16:17 +00:00
parent baacf5e062
commit 7e975aaf96
1 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@ SOFTWARE.
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: readfile.c,v 1.17 2009/04/15 00:23:29 lukem Exp $");
__RCSID("$NetBSD: readfile.c,v 1.18 2011/01/04 09:16:17 wiz Exp $");
#endif
@ -681,8 +681,10 @@ process_entry(struct host *host, char *src)
break;
case E_BAD_PATHNAME:
msg = "bad pathname (need leading '/')";
break;
case E_BAD_VALUE:
msg = "bad value";
break;
default:
msg = "unknown error";
break;