Skip to content

Commit

Permalink
app_lua: init timeval structures
Browse files Browse the repository at this point in the history
(cherry picked from commit e1369a4)
  • Loading branch information
miconda committed Apr 13, 2021
1 parent 3aa2bfd commit c13836b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/app_lua/app_lua_api.c
Expand Up @@ -1605,7 +1605,7 @@ int sr_kemi_lua_exec_func(lua_State* L, int eidx)
{
sr_kemi_t *ket;
int ret;
struct timeval tvb, tve;
struct timeval tvb = {0}, tve = {0};
struct timezone tz;
unsigned int tdiff;
lua_Debug dinfo;
Expand Down

0 comments on commit c13836b

Please sign in to comment.