Fix false trigger of uninit var, detected using gcc v4.7.1 (compiling openelec tvh add-on), reported by seo.

This commit is contained in:
Adam Sutton 2012-07-29 20:37:00 +01:00
parent ffd1918c19
commit 26569fc3e9

View file

@ -1160,7 +1160,7 @@ htsp_read_message(htsp_connection_t *htsp, htsmsg_t **mp, int timeout)
static int
htsp_read_loop(htsp_connection_t *htsp)
{
htsmsg_t *m, *reply;
htsmsg_t *m = NULL, *reply;
int r, i;
const char *method;