Module Name:    src
Committed By:   joerg
Date:           Sat Jun 16 16:42:27 UTC 2012

Modified Files:
        src/sys/arch/amd64/amd64: machdep.c

Log Message:
Annotate tautological if, so that clang doesn't warn about the dt usage
later on.


To generate a diff of this commit:
cvs rdiff -u -r1.184 -r1.185 src/sys/arch/amd64/amd64/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/amd64/amd64/machdep.c
diff -u src/sys/arch/amd64/amd64/machdep.c:1.184 src/sys/arch/amd64/amd64/machdep.c:1.185
--- src/sys/arch/amd64/amd64/machdep.c:1.184	Tue Jun 12 22:16:05 2012
+++ src/sys/arch/amd64/amd64/machdep.c	Sat Jun 16 16:42:26 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.184 2012/06/12 22:16:05 bouyer Exp $	*/
+/*	$NetBSD: machdep.c,v 1.185 2012/06/16 16:42:26 joerg Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.184 2012/06/12 22:16:05 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.185 2012/06/16 16:42:26 joerg Exp $");
 
 /* #define XENDEBUG_LOW  */
 
@@ -2206,6 +2206,7 @@ memseg_baseaddr(struct lwp *l, uint64_t 
 	} else {
 		if (seg != GUDATA_SEL || seg != GUDATA32_SEL)
 			return EINVAL;
+		__builtin_unreachable();
 	}
 
 	sdp = (struct mem_segment_descriptor *)(dt + off);

Reply via email to