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

FIX: missing preprocessor #else and unused parameters

This commit is contained in:
Manuel Pitz 2019-04-08 10:35:52 +01:00 committed by Steffen Vogel
parent 9df2b8538f
commit 4b291a1c12

View file

@ -65,6 +65,10 @@ static int json_dumpfd_callback(const char *buffer, size_t size, void *data)
if (write(*dest, buffer, size) == (ssize_t)size)
return 0;
#else
(void)buffer;
(void)size;
(void)data;
#endif /* HAVE_UNISTD_H */
return -1;