Module Name: src Committed By: joerg Date: Mon Oct 28 18:12:17 UTC 2019
Modified Files: src/lib/libnvmm: libnvmm_x86.c Log Message: Annotate a covering switch as such to avoid warnings about missing returns. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/lib/libnvmm/libnvmm_x86.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libnvmm/libnvmm_x86.c diff -u src/lib/libnvmm/libnvmm_x86.c:1.38 src/lib/libnvmm/libnvmm_x86.c:1.39 --- src/lib/libnvmm/libnvmm_x86.c:1.38 Sun Oct 27 08:30:05 2019 +++ src/lib/libnvmm/libnvmm_x86.c Mon Oct 28 18:12:17 2019 @@ -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 @@ get_disp_type(struct x86_instr *instr) default: /* llvm */ return DISP_NONE; } + __unreachable(); } static int