From: Junio C Hamano Date: Mon, 15 Sep 2014 21:38:11 GMT Subject: Re: [PATCH] credential-cache: close stderr in daemon process Message-ID: In-Reply-To: <20140914073506.GA19667@peff.net> Jeff King writes: > + if (!debug) > + freopen("/dev/null", "w", stderr); I am getting this: credential-cache--daemon.c:216:10: error: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Werror=unused-result] which is somewhat irritating. Even though I am not irritated by this code, but by the compiler and glibc headers, this is apparently the only offending one, so we may want to fix it anyway.