Remove non-initialized variables warnings

This commit is contained in:
Kaian 2015-07-07 11:07:00 +02:00
parent 090d5906de
commit f342c57e6e
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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)))

View File

@ -51,7 +51,7 @@ int
main()
{
int ppipe[2];
int unused, ret;
int unused, ret = 0;
unused = pipe(ppipe);
// Max test duration