Skip to content

Commit

Permalink
app_jsdt: init timeval structures
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Apr 7, 2021
1 parent 3bb1a30 commit cad5cc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/app_jsdt/app_jsdt_api.c
Expand Up @@ -1339,7 +1339,7 @@ int sr_kemi_jsdt_exec_func(duk_context *J, int eidx)
{
sr_kemi_t *ket;
int ret;
struct timeval tvb, tve;
struct timeval tvb ={0}, tve = {0};
struct timezone tz;
unsigned int tdiff;
int sline = 0;
Expand Down

0 comments on commit cad5cc3

Please sign in to comment.