Skip to content

Commit

Permalink
app_lua: init timeval structures
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Apr 7, 2021
1 parent cad5cc3 commit e1369a4
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 e1369a4

Please sign in to comment.