mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
refactor: remove unused variable
This commit is contained in:
parent
886a0af868
commit
4dbc885852
1 changed files with 1 additions and 4 deletions
|
@ -114,7 +114,6 @@ int node_parse(struct node *n, json_t *json, const char *name)
|
|||
int ret;
|
||||
|
||||
json_error_t err;
|
||||
json_t *json_signals = NULL;
|
||||
json_t *json_netem = NULL;
|
||||
|
||||
const char *type;
|
||||
|
@ -123,9 +122,7 @@ int node_parse(struct node *n, json_t *json, const char *name)
|
|||
|
||||
ret = json_unpack_ex(json, &err, 0, "{ s: s, s?: b, s?: { s?: o } }",
|
||||
"type", &type,
|
||||
"enabled", &n->enabled,
|
||||
"in",
|
||||
"signals", &json_signals
|
||||
"enabled", &n->enabled
|
||||
);
|
||||
if (ret)
|
||||
jerror(&err, "Failed to parse node %s", node_name(n));
|
||||
|
|
Loading…
Add table
Reference in a new issue