moonbridge
changeset 210:7967c1e4f6d1
Avoid compiler warnings on GNU/Linux (fix)
author | jbe |
---|---|
date | Mon Jun 22 21:17:17 2015 +0200 (2015-06-22) |
parents | 5f529cb9b5c1 |
children | a3d569d3e85d |
files | moonbridge_io.c |
line diff
1.1 --- a/moonbridge_io.c Mon Jun 22 21:15:48 2015 +0200 1.2 +++ b/moonbridge_io.c Mon Jun 22 21:17:17 2015 +0200 1.3 @@ -182,8 +182,8 @@ 1.4 moonbr_io_handle_t *handle; 1.5 lua_Integer maxread; 1.6 const char *terminatorstr; 1.7 - size_t terminatorlen = 0; /* initialize to avoid compiler warning */ 1.8 - char terminator; 1.9 + size_t terminatorlen; 1.10 + char terminator = 0; /* initialize to avoid compiler warning */ 1.11 luaL_Buffer luabuf; 1.12 size_t luabufcnt = 0; 1.13 int remaining;