Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst/arch/mac68k Silence -Wstringop-truncation f...



details:   https://anonhg.NetBSD.org/src/rev/3462b3e6eb21
branches:  trunk
changeset: 974763:3462b3e6eb21
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Aug 10 06:54:45 2020 +0000

description:
Silence -Wstringop-truncation for ``name'' in disp_selected_part().
This variable is used only for display, and truncation seems harmless.

diffstat:

 usr.sbin/sysinst/arch/mac68k/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c24c4ba5542c -r 3462b3e6eb21 usr.sbin/sysinst/arch/mac68k/Makefile
--- a/usr.sbin/sysinst/arch/mac68k/Makefile     Mon Aug 10 06:53:11 2020 +0000
+++ b/usr.sbin/sysinst/arch/mac68k/Makefile     Mon Aug 10 06:54:45 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/06/12 06:20:21 martin Exp $
+#      $NetBSD: Makefile,v 1.3 2020/08/10 06:54:45 rin Exp $
 #
 # Makefile for mac68k
 #
@@ -13,4 +13,7 @@
 NO_MBR=                yes
 .endif
 
+# XXX
+COPTS.md.c=    -Wno-stringop-truncation
+
 .include "../../Makefile.inc"



Home | Main Index | Thread Index | Old Index