Skip to content

Commit

Permalink
src/cqueues.h: Remove now unrequired LUA_VERSION_NUM check
Browse files Browse the repository at this point in the history
  • Loading branch information
daurnimator committed Oct 13, 2017
1 parent ffd47e7 commit 5638d1a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/cqueues.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,11 +391,7 @@ static inline int cqs_getuservalue(lua_State *L, int index) {
#if LUA_VERSION_NUM >= 503
return lua_getuservalue(L, index);
#else
#if LUA_VERSION_NUM == 502
lua_getuservalue(L, index);
#else
lua_getfenv(L, index);
#endif
if (cqs__isproxytable(L, -1)) {
lua_rawgeti(L, -1, 2);
lua_replace(L, -2);
Expand Down

0 comments on commit 5638d1a

Please sign in to comment.