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

Fix some compiler warnings in fpga code

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel 2024-02-29 19:33:40 +01:00
parent a2abaa3cda
commit 29cf5540a0
2 changed files with 6 additions and 2 deletions

View file

@ -52,3 +52,9 @@ private:
} // namespace ip
} // namespace fpga
} // namespace villas
#ifndef FMT_LEGACY_OSTREAM_FORMATTER
template <>
class fmt::formatter<villas::fpga::ip::RtdsGtfpga>
: public fmt::ostream_formatter {};
#endif

View file

@ -17,8 +17,6 @@ int main(int argc, char *argv[])
villasfpga_handle vh;
villasfpga_memory mem1, mem2;
void *mem1ptr, *mem2ptr;
char line[1024];
float f;
size_t size;
if (argv == NULL) {