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: 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 2d7af5e743
commit 994d9ed6a6

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) if (write(*dest, buffer, size) == (ssize_t)size)
return 0; return 0;
#else
(void)buffer;
(void)size;
(void)data;
#endif /* HAVE_UNISTD_H */ #endif /* HAVE_UNISTD_H */
return -1; return -1;