This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
libuwsc: fix compilation with GCC11
Bad if identation is now an error. Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev
4 years ago
parent
f151172b42
commit
0ed3e8f373
1 changed files
with
11 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-0
libs/libuwsc/patches/010-gcc11.patch
+ 11
- 0
libs/libuwsc/patches/010-gcc11.patch
View File
@ -0,0 +1,11 @@
--- 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)
Write
Preview
Loading…
Cancel
Save