mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
debug: Use // for commented out debug #defines
The traditional style used for optional editable definitions /* #define X /* */ produces a bogus warning from gcc -Wall. Rather than suppressing this with -Wno-comment, switch over to the // comment style.
This commit is contained in:
parent
36c5bb40a2
commit
ce9a5cc257
@ -66,7 +66,7 @@ int become_daemon(struct cmd_context *cmd, int skip_lvm)
|
|||||||
strerror(errno));
|
strerror(errno));
|
||||||
|
|
||||||
/* Set this to avoid discarding output from background process */
|
/* Set this to avoid discarding output from background process */
|
||||||
/* #define DEBUG_CHILD */
|
// #define DEBUG_CHILD
|
||||||
|
|
||||||
#ifndef DEBUG_CHILD
|
#ifndef DEBUG_CHILD
|
||||||
if ((null_fd = open(devnull, O_RDWR)) == -1) {
|
if ((null_fd = open(devnull, O_RDWR)) == -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user