1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fixed unused return value warnings / errors emitted by Ubuntu's GCC 5.4.0

This commit is contained in:
Steffen Vogel 2017-06-17 03:16:14 +02:00
parent 2ca0cdf979
commit 8cbbb8b4f1

View file

@ -552,7 +552,7 @@ int websocket_parse(struct node *n, config_setting_t *cfg)
d.info.ietf_version_or_minus_one = -1;
d.info.protocol = "live";
asprintf((char **) &d.info.path, "/%s", path);
ret = asprintf((char **) &d.info.path, "/%s", path);
list_push(&w->destinations, memdup(&d, sizeof(d)));
}