Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/btpand add NOTREACHED comment



details:   https://anonhg.NetBSD.org/src/rev/2630de5f7857
branches:  trunk
changeset: 796844:2630de5f7857
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 21 17:50:01 2014 +0000

description:
add NOTREACHED comment

diffstat:

 usr.sbin/btpand/btpand.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 867927e98b56 -r 2630de5f7857 usr.sbin/btpand/btpand.c
--- a/usr.sbin/btpand/btpand.c  Sat Jun 21 17:48:07 2014 +0000
+++ b/usr.sbin/btpand/btpand.c  Sat Jun 21 17:50:01 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: btpand.c,v 1.6 2011/08/29 20:38:55 joerg Exp $ */
+/*     $NetBSD: btpand.c,v 1.7 2014/06/21 17:50:01 christos Exp $      */
 
 /*-
  * Copyright (c) 2008-2009 Iain Hibbert
@@ -27,7 +27,7 @@
 
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2008-2009 Iain Hibbert. All rights reserved.");
-__RCSID("$NetBSD: btpand.c,v 1.6 2011/08/29 20:38:55 joerg Exp $");
+__RCSID("$NetBSD: btpand.c,v 1.7 2014/06/21 17:50:01 christos Exp $");
 
 #include <sys/wait.h>
 
@@ -213,6 +213,7 @@
        switch(fork()) {
        case -1: /* bad */
                err(EXIT_FAILURE, "fork() failed");
+               /*NOTREACHED*/
 
        case 0: /* child */
                openlog(getprogname(), LOG_NDELAY | LOG_PERROR | LOG_PID, LOG_DAEMON);



Home | Main Index | Thread Index | Old Index