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