[libvirt PATCH 02/10] virNWFilterParseParamAttributes: `virHashNew` cannot return NULL

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

 



Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
---
 src/conf/nwfilter_params.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/conf/nwfilter_params.c b/src/conf/nwfilter_params.c
index aeed0cff1f..c94e9679f8 100644
--- a/src/conf/nwfilter_params.c
+++ b/src/conf/nwfilter_params.c
@@ -702,8 +702,6 @@ virNWFilterParseParamAttributes(xmlNodePtr cur)
     virNWFilterVarValue *value;
 
     GHashTable *table = virHashNew(virNWFilterVarValueHashFree);
-    if (!table)
-        return NULL;
 
     cur = cur->children;
 
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux