Module Name: src Committed By: rillig Date: Sat Apr 16 15:55:10 UTC 2022
Modified Files: src/usr.bin/xlint/lint1: err.c Log Message: lint: for gnuism and c99ism, calculate severity Calculating the severity as a simple sum removes the condition sequence 'a && !b, or else a || !b', which can quickly become a brain twister, especially when negations are involved. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.160 -r1.161 src/usr.bin/xlint/lint1/err.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.