forked from Mirrors/sngrep
Remove non-initialized variables warnings
This commit is contained in:
parent
090d5906de
commit
f342c57e6e
|
@ -314,7 +314,7 @@ call_flow_draw_message(PANEL *panel, call_flow_arrow_t *arrow, int cline)
|
|||
char mediastr[40];
|
||||
sip_msg_t *msg = arrow->msg;
|
||||
vector_iter_t medias;
|
||||
int color;
|
||||
int color = 0;
|
||||
|
||||
// Get panel information
|
||||
info = call_flow_info(panel);
|
||||
|
|
|
@ -126,7 +126,7 @@ call_raw_print_msg(PANEL *panel, sip_msg_t *msg)
|
|||
// Message ngrep style Header
|
||||
char header[256];
|
||||
char payload[2048];
|
||||
int color;
|
||||
int color = 0;
|
||||
|
||||
// Get panel information
|
||||
if (!(info = call_raw_info(panel)))
|
||||
|
|
|
@ -51,7 +51,7 @@ int
|
|||
main()
|
||||
{
|
||||
int ppipe[2];
|
||||
int unused, ret;
|
||||
int unused, ret = 0;
|
||||
unused = pipe(ppipe);
|
||||
|
||||
// Max test duration
|
||||
|
|
Loading…
Reference in New Issue