Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libnvmm Put back 'default', because llvm apparently does...
details: https://anonhg.NetBSD.org/src/rev/e44ebf5b2997
branches: trunk
changeset: 464742:e44ebf5b2997
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Oct 19 19:45:10 2019 +0000
description:
Put back 'default', because llvm apparently doesn't realize that all cases
are covered in the switch.
diffstat:
lib/libnvmm/libnvmm_x86.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r f1179a5bbea0 -r e44ebf5b2997 lib/libnvmm/libnvmm_x86.c
--- a/lib/libnvmm/libnvmm_x86.c Sat Oct 19 18:04:26 2019 +0000
+++ b/lib/libnvmm/libnvmm_x86.c Sat Oct 19 19:45:10 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: libnvmm_x86.c,v 1.34 2019/10/14 10:43:40 maxv Exp $ */
+/* $NetBSD: libnvmm_x86.c,v 1.35 2019/10/19 19:45:10 maxv Exp $ */
/*
* Copyright (c) 2018-2019 The NetBSD Foundation, Inc.
@@ -2240,6 +2240,7 @@
}
return DISP_4;
case 0b11: /* direct */
+ default: /* llvm */
return DISP_NONE;
}
}
Home |
Main Index |
Thread Index |
Old Index