aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/lua.c b/backends/lua.c
index ec02575..365cf3e 100644
--- a/backends/lua.c
+++ b/backends/lua.c
@@ -384,11 +384,11 @@ static int lua_set(instance* inst, size_t num, channel** c, channel_value* v){
}
static int lua_handle(size_t num, managed_fd* fds){
- uint8_t read_buffer[100];
uint64_t delta = timer_interval;
size_t n;
#ifdef MMBACKEND_LUA_TIMERFD
+ uint8_t read_buffer[100];
if(!num){
return 0;
}