From: Florian Forster Date: Mon, 20 Nov 2017 10:11:22 +0000 (+0100) Subject: src/utils_ovs.c: Assign variable only once. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=5b5043bc15030278fdacf99c253a9cddaa9b136c;p=collectd.git src/utils_ovs.c: Assign variable only once. CID: 179233 --- diff --git a/src/utils_ovs.c b/src/utils_ovs.c index ae82253b..e3f5caad 100644 --- a/src/utils_ovs.c +++ b/src/utils_ovs.c @@ -1003,7 +1003,7 @@ ovs_db_t *ovs_db_init(const char *node, const char *service, return NULL; /* allocate db data & fill it */ - ovs_db_t *pdb = pdb = calloc(1, sizeof(*pdb)); + ovs_db_t *pdb = calloc(1, sizeof(*pdb)); if (pdb == NULL) return NULL;