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:
parent
9df2b8538f
commit
4b291a1c12
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue