Module Name: src Committed By: christos Date: Sat Apr 7 16:18:24 UTC 2012
Modified Files: src/common/lib/libutil: getfstypename.c Log Message: lint knows the code is not reachable, but gcc does not. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/common/lib/libutil/getfstypename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/common/lib/libutil/getfstypename.c diff -u src/common/lib/libutil/getfstypename.c:1.6 src/common/lib/libutil/getfstypename.c:1.7 --- src/common/lib/libutil/getfstypename.c:1.6 Mon Jan 16 13:47:57 2012 +++ src/common/lib/libutil/getfstypename.c Sat Apr 7 12:18:24 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: getfstypename.c,v 1.6 2012/01/16 18:47:57 christos Exp $ */ +/* $NetBSD: getfstypename.c,v 1.7 2012/04/07 16:18:24 christos Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -39,10 +39,10 @@ # include <sys/cdefs.h> # ifndef _KERNEL # if !defined(lint) -__RCSID("$NetBSD: getfstypename.c,v 1.6 2012/01/16 18:47:57 christos Exp $"); +__RCSID("$NetBSD: getfstypename.c,v 1.7 2012/04/07 16:18:24 christos Exp $"); # endif # else -__KERNEL_RCSID(0, "$NetBSD: getfstypename.c,v 1.6 2012/01/16 18:47:57 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: getfstypename.c,v 1.7 2012/04/07 16:18:24 christos Exp $"); # endif /* _KERNEL */ # define FSTYPE_ENUMNAME fstype_enum @@ -125,6 +125,7 @@ getfstypename(int fstype) return DKW_PTYPE_MINIXFS3; } /* Stupid gcc, should know it is impossible to get here */ + /*UNREACHED*/ return DKW_PTYPE_UNKNOWN; } #endif /* !_STANDALONE */