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

Remove unused includes and variables

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel 2024-03-27 12:10:54 +01:00
parent 602f05f34f
commit ed5acacffa
11 changed files with 1 additions and 23 deletions

View file

@ -7,9 +7,6 @@
#include <villas/fpga/dma.h>
#include <csignal>
#include <iostream>
#include <stdexcept>
#include <string>
#include <villas/exceptions.hpp>

View file

@ -6,7 +6,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <algorithm>
#include <csignal>
#include <filesystem>
#include <iostream>
@ -15,7 +14,6 @@
#include <string>
#include <vector>
#include <CLI11.hpp>
#include <rang.hpp>
#include <villas/exceptions.hpp>

View file

@ -8,7 +8,6 @@
*/
#include <algorithm>
#include <csignal>
#include <iostream>
#include <jansson.h>
#include <string>

View file

@ -5,8 +5,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <algorithm>
#include <csignal>
#include <iostream>
#include <jansson.h>
#include <string>

View file

@ -5,9 +5,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <fstream>
#include <iostream>
#include <cstring>
#include <villas/config_helper.hpp>

View file

@ -5,7 +5,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <cassert>
#include <cinttypes>
#include <cstring>

View file

@ -5,9 +5,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <bitset>
#include <cstring>
#include <villas/hook.hpp>
#include <villas/node/exceptions.hpp>
#include <villas/sample.hpp>

View file

@ -7,8 +7,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <cstdio>
#include <linux/if_packet.h>
#include <netlink/route/link.h>

View file

@ -5,7 +5,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <cerrno>
#include <cstdlib>
#include <strings.h>
#include <unistd.h>

View file

@ -8,7 +8,6 @@
*/
#include <chrono>
#include <thread>
#include <fmt/chrono.h>
#include <fmt/core.h>

View file

@ -193,7 +193,7 @@ protected:
}
int main() {
int ret, rc = 0, line, failed;
int ret, rc = 0, failed;
unsigned eofs;
ret = pool_init(&pool, filenames.size(),
@ -211,7 +211,6 @@ protected:
sides.push_back(s);
}
line = 0;
while (true) {
// Read next sample from all files
retry:
@ -250,8 +249,6 @@ protected:
goto out;
}
}
line++;
}
out: