Module Name:    src
Committed By:   martin
Date:           Sun Oct 25 08:50:32 UTC 2020

Modified Files:
        src/usr.sbin/sysinst: util.c

Log Message:
Mark a variable only used in an assert as __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.sbin/sysinst/util.c

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

Modified files:

Index: src/usr.sbin/sysinst/util.c
diff -u src/usr.sbin/sysinst/util.c:1.49 src/usr.sbin/sysinst/util.c:1.50
--- src/usr.sbin/sysinst/util.c:1.49	Sat Oct 24 16:13:15 2020
+++ src/usr.sbin/sysinst/util.c	Sun Oct 25 08:50:32 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: util.c,v 1.49 2020/10/24 16:13:15 martin Exp $	*/
+/*	$NetBSD: util.c,v 1.50 2020/10/25 08:50:32 martin Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -515,7 +515,7 @@ static int
 get_available_cds(void)
 {
 	struct get_available_cds_state data;
-	int n, e;
+	int n, __diagused e;
 
 	memset(&data, 0, sizeof data);
 	data.info = cds;

Reply via email to