packages/libs/libuwsc/patches/010-gcc11.patch
Rosen Penev 0ed3e8f373 libuwsc: fix compilation with GCC11
Bad if identation is now an error.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-24 21:05:44 -07:00

11 lines
288 B
Diff

--- a/src/lua/uwsc_lua.c
+++ b/src/lua/uwsc_lua.c
@@ -177,7 +177,7 @@ static int uwsc_lua_on(lua_State *L)
else
luaL_argcheck(L, false, 2, "available event name: open message error close");
- return 0;
+ return 0;
}
static int __uwsc_lua_send(lua_State *L, int op)