Module Name: src Committed By: rillig Date: Wed Dec 30 01:33:30 UTC 2020
Modified Files: src/usr.bin/xlint/lint1: err.c externs1.h init.c lint1.h Log Message: lint: reduce verbosity of assertions Having 2 lines of source code per assertion is too much, especially since most of this code is redundant anyway. Extract the common code and the additional negation into a simple function instead. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/usr.bin/xlint/lint1/err.c cvs rdiff -u -r1.40 -r1.41 src/usr.bin/xlint/lint1/externs1.h cvs rdiff -u -r1.43 -r1.44 src/usr.bin/xlint/lint1/init.c cvs rdiff -u -r1.36 -r1.37 src/usr.bin/xlint/lint1/lint1.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.