Module: kamailio
Branch: master
Commit: a1d9adb329d261b8b3856a39c5ccaa27ce8f0849
URL:
https://github.com/kamailio/kamailio/commit/a1d9adb329d261b8b3856a39c5ccaa2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-17T15:18:22+02:00
core: init timeval variables to avoid compile warning
---
Modified: src/core/action.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a1d9adb329d261b8b3856a39c5ccaa2…
Patch:
https://github.com/kamailio/kamailio/commit/a1d9adb329d261b8b3856a39c5ccaa2…
---
diff --git a/src/core/action.c b/src/core/action.c
index 06775a88fc..8b6725598c 100644
--- a/src/core/action.c
+++ b/src/core/action.c
@@ -1527,7 +1527,7 @@ int run_actions(struct run_act_ctx* h, struct action* a, struct
sip_msg* msg)
{
struct action* t;
int ret;
- struct timeval tvb, tve;
+ struct timeval tvb = {0}, tve = {0};
struct timezone tz;
unsigned int tdiff;