projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c84222b
)
src/utils_ovs.c: Assign variable only once.
author
Florian Forster
<octo@collectd.org>
Mon, 20 Nov 2017 10:11:22 +0000
(11:11 +0100)
committer
Florian Forster
<octo@collectd.org>
Mon, 20 Nov 2017 10:11:22 +0000
(11:11 +0100)
CID: 179233
src/utils_ovs.c
patch
|
blob
|
history
diff --git
a/src/utils_ovs.c
b/src/utils_ovs.c
index
ae82253
..
e3f5caa
100644
(file)
--- 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;