Module Name: src Committed By: rillig Date: Sun Sep 27 12:26:24 UTC 2020
Modified Files: src/usr.bin/make: parse.c Log Message: make(1): remove redundant null checks for the active targets Before August 2020, the Lst library passed null pointers through. This was a confusing design pattern that has been removed since. Now the Lst functions fail fast on null pointers. The 'targets' list is one of the few places where there is indeed an optional list that may sometimes be null. Back then, there was not enough inline documentation to understand when the targets list was null and when it wasn't. Now that the documentation is there, the redundant and thereby misleading null checks are no longer useful. To generate a diff of this commit: cvs rdiff -u -r1.335 -r1.336 src/usr.bin/make/parse.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.