Module Name:    src
Committed By:   rillig
Date:           Wed Dec 23 14:05:32 UTC 2020

Modified Files:
        src/usr.bin/make: make.h

Log Message:
make(1): fix lint warnings for constant condition in DEBUG calls


To generate a diff of this commit:
cvs rdiff -u -r1.238 -r1.239 src/usr.bin/make/make.h

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

Modified files:

Index: src/usr.bin/make/make.h
diff -u src/usr.bin/make/make.h:1.238 src/usr.bin/make/make.h:1.239
--- src/usr.bin/make/make.h:1.238	Wed Dec 23 14:03:13 2020
+++ src/usr.bin/make/make.h	Wed Dec 23 14:05:32 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: make.h,v 1.238 2020/12/23 14:03:13 rillig Exp $	*/
+/*	$NetBSD: make.h,v 1.239 2020/12/23 14:05:32 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -589,7 +589,7 @@ void debug_printf(const char *, ...) MAK
 	do { \
 		if (DEBUG(module)) \
 			debug_printf args; \
-	} while (0)
+	} while (/*CONSTCOND*/ 0)
 
 #define DEBUG0(module, text) \
 	DEBUG_IMPL(module, ("%s", text))

Reply via email to