From: Junio C Hamano Date: Wed, 04 Jun 2025 15:50:28 GMT Subject: Re: [PATCH 4/4] Fix unreachable-code warning with clang on Windows Message-ID: In-Reply-To: Patrick Steinhardt writes: > The function won't cause the error, but the macro will. So wouldn't it > make more sense to wrap the macro itself in `NOT_CONSTANT`, like this: > > #define create_ref_symlink(a, b) NOT_CONSTANT(-1) That's clever ;-). We cannot unfortunatel do the same at the site that the macro NOT_CONSTANT() was invented for, though.