Module Name: src Committed By: christos Date: Sun Oct 13 20:43:26 UTC 2019
Modified Files: src/usr.bin/error: touch.c Log Message: can't happen, but gcc can't figure it out. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/error/touch.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/error/touch.c diff -u src/usr.bin/error/touch.c:1.27 src/usr.bin/error/touch.c:1.28 --- src/usr.bin/error/touch.c:1.27 Wed Feb 29 18:37:07 2012 +++ src/usr.bin/error/touch.c Sun Oct 13 16:43:25 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: touch.c,v 1.27 2012/02/29 23:37:07 joerg Exp $ */ +/* $NetBSD: touch.c,v 1.28 2019/10/13 20:43:25 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93"; #endif -__RCSID("$NetBSD: touch.c,v 1.27 2012/02/29 23:37:07 joerg Exp $"); +__RCSID("$NetBSD: touch.c,v 1.28 2019/10/13 20:43:25 christos Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -738,6 +738,8 @@ mustwrite(const char *base, unsigned n, case Q_no: mustwrite(base + nwrote, n - nwrote, preciousfile); return (1); + default: + abort(); } case Q_error: default: