[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt PATCH 3/8] util: command: do not return after abort



Signed-off-by: Ján Tomko <jtomko redhat com>
---
 src/util/vircommand.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/util/vircommand.c b/src/util/vircommand.c
index 5ce69ef241..76f7eb9a3d 100644
--- a/src/util/vircommand.c
+++ b/src/util/vircommand.c
@@ -1509,7 +1509,6 @@ virCommandAddArg(virCommandPtr cmd, const char *val)
     if (val == NULL) {
         cmd->has_error = EINVAL;
         abort();
-        return;
     }
 
     arg = g_strdup(val);
-- 
2.26.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]