many: fix remaining check-pointer-deref issues
The updated parsing_hacks.h file uncovered a bunch of extra things that the check-pointer-deref coccinelle script flags. This commit fixes them to make the tree check-pointer-deref clean.
This commit is contained in:
@@ -195,6 +195,8 @@ static int find_build_dir_binary(const char *fn, char **ret) {
|
||||
|
||||
static int find_environment_binary(const char *fn, const char **ret) {
|
||||
|
||||
assert(ret);
|
||||
|
||||
/* If a path such as /usr/lib/systemd/systemd-foobar is specified, then this will check for an
|
||||
* environment variable SYSTEMD_FOOBAR_PATH and return it if set. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user