summaryrefslogtreecommitdiffstats
path: root/lib/utils_cmd.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-09-19 09:06:39 (GMT)
committerGitHub <noreply@github.com>2023-09-19 09:06:39 (GMT)
commit220455a11e8f1dd3a86ac4725cf0c799c8e3b21b (patch)
treefffe9429dbf796841a1d2699d49c921f3bf369d1 /lib/utils_cmd.c
parent2f0119ef1d4c009f1ed7fc10f5a6a1e0b224c3d2 (diff)
parentfe239bf1c458f62499f3cdaf66d9d48957375a73 (diff)
downloadmonitoring-plugins-220455a11e8f1dd3a86ac4725cf0c799c8e3b21b.tar.gz
Merge pull request #1870 from RincewindsHat/compiler_warning_part_5
Compiler warning part 5
Diffstat (limited to 'lib/utils_cmd.c')
-rw-r--r--lib/utils_cmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/utils_cmd.c b/lib/utils_cmd.c
index 8b8e570..34fb390 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