Change in osmocom-bb[master]: lua: Add a sentinel for the fd function table

Holger Freyther gerrit-no-reply at lists.osmocom.org
Sat Apr 27 09:30:58 UTC 2019


Holger Freyther has submitted this change and it was merged. ( https://gerrit.osmocom.org/13798 )

Change subject: lua: Add a sentinel for the fd function table
......................................................................

lua: Add a sentinel for the fd function table

Change-Id: I4fe2fd6584a453a951361e1b67fb986583b176be
---
M src/host/layer23/src/mobile/script_lua.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, approved



diff --git a/src/host/layer23/src/mobile/script_lua.c b/src/host/layer23/src/mobile/script_lua.c
index 9117cdd..2979e7c 100644
--- a/src/host/layer23/src/mobile/script_lua.c
+++ b/src/host/layer23/src/mobile/script_lua.c
@@ -544,6 +544,7 @@
 static const struct luaL_Reg fd_funcs[] = {
 	{ "unregister", lua_fd_unregister },
 	{ "__gc", lua_fd_unregister },
+	{ NULL, NULL },
 };
 
 static const struct luaL_Reg ms_funcs[] = {

-- 
To view, visit https://gerrit.osmocom.org/13798
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4fe2fd6584a453a951361e1b67fb986583b176be
Gerrit-Change-Number: 13798
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190427/03d63d55/attachment.html>


More information about the gerrit-log mailing list