mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
test_rtt: fix compiler warnings
This commit is contained in:
parent
34e6891192
commit
c16c53ffb9
1 changed files with 1 additions and 5 deletions
|
@ -188,11 +188,7 @@ int test_rtt_parse(struct node *n, json_t *cfg)
|
|||
else
|
||||
c->limit = 1000; /* default value */
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-result"
|
||||
asprintf(&c->filename, "%s/%s_%d_%.0f.log", t->output, t->prefix, c->values, c->rate);
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
c->filename = strf("%s/%s_%d_%.0f.log", t->output, t->prefix, c->values, c->rate);
|
||||
|
||||
list_push(&t->cases, c);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue