mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
pipe: removed unused variable
This commit is contained in:
parent
0caca6d2cf
commit
15438c8b8b
1 changed files with 2 additions and 2 deletions
|
@ -138,14 +138,14 @@ static void * send_loop(void *ctx)
|
|||
Logger logger = logging.get("pipe");
|
||||
|
||||
unsigned last_sequenceno = 0, release;
|
||||
int ret, scanned, sent, allocated, cnt = 0;
|
||||
int scanned, sent, allocated, cnt = 0;
|
||||
|
||||
struct sample *smps[dirs->send.node->out.vectorize];
|
||||
|
||||
while (!io_eof(dirs->send.io)) {
|
||||
allocated = sample_alloc_many(&dirs->send.pool, smps, dirs->send.node->out.vectorize);
|
||||
if (allocated < 0)
|
||||
throw RuntimeError("Failed to get {} samples out of send pool ({}).", dirs->send.node->out.vectorize, ret);
|
||||
throw RuntimeError("Failed to get {} samples out of send pool.", dirs->send.node->out.vectorize);
|
||||
else if (allocated < dirs->send.node->out.vectorize)
|
||||
logger->warn("Send pool underrun");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue