summaryrefslogtreecommitdiff
path: root/lib/ZClosePort.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZClosePort.c')
-rw-r--r--lib/ZClosePort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZClosePort.c b/lib/ZClosePort.c
index 27e7e18..4f93d46 100644
--- a/lib/ZClosePort.c
+++ b/lib/ZClosePort.c
@@ -19,7 +19,7 @@
Code_t ZClosePort()
{
if (__Zephyr_fd >= 0 && __Zephyr_open)
- close(__Zephyr_fd);
+ (void) close(__Zephyr_fd);
__Zephyr_fd = -1;
__Zephyr_open = 0;