Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libnvmm Annotate a covering switch as such to avoid warn...
details: https://anonhg.NetBSD.org/src/rev/bf9a71a7ad28
branches: trunk
changeset: 1004429:bf9a71a7ad28
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Oct 28 18:12:17 2019 +0000
description:
Annotate a covering switch as such to avoid warnings about missing
returns.
diffstat:
lib/libnvmm/libnvmm_x86.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r de8cdc4401e5 -r bf9a71a7ad28 lib/libnvmm/libnvmm_x86.c
--- a/lib/libnvmm/libnvmm_x86.c Mon Oct 28 18:11:15 2019 +0000
+++ b/lib/libnvmm/libnvmm_x86.c Mon Oct 28 18:12:17 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: libnvmm_x86.c,v 1.38 2019/10/27 08:30:05 maxv Exp $ */
+/* $NetBSD: libnvmm_x86.c,v 1.39 2019/10/28 18:12:17 joerg Exp $ */
/*
* Copyright (c) 2018-2019 The NetBSD Foundation, Inc.
@@ -2251,6 +2251,7 @@
default: /* llvm */
return DISP_NONE;
}
+ __unreachable();
}
static int
Home |
Main Index |
Thread Index |
Old Index