diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-03-12 14:59:23 +0100 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-04-18 00:35:09 +0200 |
commit | a00c412e7ba1474b32f478daf039d2bdf71f072a (patch) | |
tree | 6454bc5012dc534c00b56d09673419d04f5e0e6a /lib/utils_cmd.c | |
parent | 41fb615f3de34c3b3a344e74fd9cc24936cd58a6 (diff) | |
download | monitoring-plugins-a00c412e7ba1474b32f478daf039d2bdf71f072a.tar.gz |
Fixes for -Wnonnull-compare
Diffstat (limited to 'lib/utils_cmd.c')
-rw-r--r-- | lib/utils_cmd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/utils_cmd.c b/lib/utils_cmd.c index 8b8e5708..34fb3909 100644 --- a/lib/utils_cmd.c +++ b/lib/utils_cmd.c | |||
@@ -118,10 +118,6 @@ _cmd_open (char *const *argv, int *pfd, int *pfderr) | |||
118 | 118 | ||
119 | int i = 0; | 119 | int i = 0; |
120 | 120 | ||
121 | /* if no command was passed, return with no error */ | ||
122 | if (argv == NULL) | ||
123 | return -1; | ||
124 | |||
125 | if (!_cmd_pids) | 121 | if (!_cmd_pids) |
126 | CMD_INIT; | 122 | CMD_INIT; |
127 | 123 | ||