Skip to content
Snippets Groups Projects
Commit c7918e89 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Silence a clang warning

parent 2b206f01
Branches
Tags
No related merge requests found
......@@ -308,8 +308,8 @@ void proxy_parts_load(struct proxy *p, const struct part *parts,
do {
p->size_parts_out *= proxy_buffgrow;
} while (p->nr_parts_out + N > p->size_parts_out);
struct part *tp;
struct xpart *txp;
struct part *tp = NULL;
struct xpart *txp = NULL;
if ((tp = (struct part *)malloc(sizeof(struct part) * p->size_parts_out)) ==
NULL ||
(txp = (struct xpart *)malloc(sizeof(struct xpart) *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment