Browse code

cplc: init time switch structures

Daniel-Constantin Mierla authored on 31/07/2017 13:30:19
Showing 1 changed files
... ...
@@ -686,6 +686,9 @@ static inline char *run_time_switch( struct cpl_interpreter *intr )
686 686
 	ac_tm_t att;
687 687
 	tmrec_t trt;
688 688
 
689
+	memset(&att, 0, sizeof(ac_tm_t));
690
+	memset(&trt, 0, sizeof(tmrec_t));
691
+
689 692
 	LM_DBG("checking recv. time stamp <%d>\n",
690 693
 		intr->recv_time);
691 694
 	switch (NR_OF_ATTR(intr->ip)) {