Skip to content

Commit 6be4831

Browse files
committed
Valgrind instrumentation is only enabled in debug builds
1 parent 3ca4634 commit 6be4831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/lwan/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ print_build_time_configuration(void)
102102
printf(" sockopt-reuseport-incoming-cpu");
103103
#endif
104104

105-
#if defined(LWAN_HAVE_VALGRIND)
105+
#if !defined(NDEBUG) && defined(LWAN_HAVE_VALGRIND)
106106
printf(" valgrind");
107107
#endif
108108

0 commit comments

Comments
 (0)