We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c1fc0d commit c9cd941Copy full SHA for c9cd941
luaa.c
@@ -940,17 +940,17 @@ luaA_dofunction_on_error(lua_State *L)
940
static void
941
setup_awesome_signals(lua_State *L)
942
{
943
- int count=0;
944
-#define SETUP_SIGNAL(sig) \
945
- do { \
946
- count++; \
+ int count = 0;
+#define SETUP_SIGNAL(sig) \
+ do { \
+ count++; \
947
} while (0)
948
#include "unix_signals.h"
949
#undef SETUP_SIGNAL
950
951
lua_getglobal(L, "awesome");
952
lua_pushstring(L, "unix_signal");
953
- lua_createtable(L,0,count);
+ lua_createtable(L, 0, count);
954
955
#define SETUP_SIGNAL(sig) \
956
do { \
0 commit comments