summary refs log tree commit diff stats
path: root/lib/posix/kqueue.nim
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2018-04-23 17:02:38 +0800
committerAndreas Rumpf <rumpf_a@web.de>2018-04-23 11:02:38 +0200
commit72dfe176f5211f561263984a2df653f16dcf5466 (patch)
treefdfe465ee360ce63925753737a70973e3309dc7a /lib/posix/kqueue.nim
parenta8b70c550083e432f0028e6582c97d8310a48c8a (diff)
downloadNim-72dfe176f5211f561263984a2df653f16dcf5466.tar.gz
remove dead code elimination option (#7669)
Diffstat (limited to 'lib/posix/kqueue.nim')
-rw-r--r--lib/posix/kqueue.nim8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/posix/kqueue.nim b/lib/posix/kqueue.nim
index 730491a53..18b47f5d5 100644
--- a/lib/posix/kqueue.nim
+++ b/lib/posix/kqueue.nim
@@ -7,8 +7,6 @@
 #    distribution, for details about the copyright.
 #
 
-{.deadCodeElim:on.}
-
 from posix import Timespec
 
 when defined(macosx) or defined(freebsd) or defined(openbsd) or
@@ -61,7 +59,7 @@ const
   EV_CLEAR*    = 0x0020 ## Clear event state after reporting.
   EV_RECEIPT*  = 0x0040 ## Force EV_ERROR on success, data == 0
   EV_DISPATCH* = 0x0080 ## Disable event after reporting.
-  
+
   EV_SYSFLAGS* = 0xF000 ## Reserved by system
   EV_DROP*     = 0x1000 ## Not should be dropped
   EV_FLAG1*    = 0x2000 ## Filter-specific flag
@@ -87,10 +85,10 @@ when defined(macosx) or defined(freebsd) or defined(dragonfly):
     NOTE_FFAND*      = 0x40000000'u32 ## AND fflags
     NOTE_FFOR*       = 0x80000000'u32 ## OR fflags
     NOTE_FFCOPY*     = 0xc0000000'u32 ## copy fflags
-    NOTE_FFCTRLMASK* = 0xc0000000'u32 ## masks for operations 
+    NOTE_FFCTRLMASK* = 0xc0000000'u32 ## masks for operations
     NOTE_FFLAGSMASK* = 0x00ffffff'u32
 
-    NOTE_TRIGGER*    = 0x01000000'u32 ## Cause the event to be triggered 
+    NOTE_TRIGGER*    = 0x01000000'u32 ## Cause the event to be triggered
                                       ## for output.
 
 # data/hint flags for EVFILT_{READ|WRITE}, shared with userspace