Created attachment 163866 [details] Remove redundant check of the DEBUG_FLAGS Hello, This patch removes redundant check of the DEBUG_FLAGS in the bsd.prog.mk. We already check it above in the same file, so we no need to check it again.
MARKED AS SPAM
But if MK_CTF is "no", then we would not set STRIP. I am not sure if that's correct. I'll close the PR for now. Please reopen it if I misunderstood the patch. Cheers!
Of course I read it incorrectly. Sorry about that. I'm reopening this PR.
https://reviews.freebsd.org/D29814
I don't think it is necessary to commit this style patch. The current version is readable. At the same time, the proposed change introduces a potentially confusing else statement, which has to be clarified with a comment.