From 2db53631ab7583e95c0a3a7d27096af651afe753 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Tue, 15 Mar 2011 05:09:29 +0000 Subject: Misc (re #1175) (thanks to Seth Hinze for the patch): * uri_test: Fixes a divide by zero error when the benchmark is run on a really fast machine. * presence: Fixes a compiler warning about potential referencing of an uninitialized variable. * echo_speex: Allow for compilation when PJMEDIA_HAS_SPEEX_AEC is not defined. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3443 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/src/pjsip-simple/presence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pjsip/src/pjsip-simple/presence.c') diff --git a/pjsip/src/pjsip-simple/presence.c b/pjsip/src/pjsip-simple/presence.c index ac344fd9..d567c6fc 100644 --- a/pjsip/src/pjsip-simple/presence.c +++ b/pjsip/src/pjsip-simple/presence.c @@ -701,7 +701,7 @@ static pj_status_t pres_process_rx_notify( pjsip_pres *pres, { const pj_str_t STR_MULTIPART = { "multipart", 9 }; pjsip_ctype_hdr *ctype_hdr; - pj_status_t status; + pj_status_t status = PJ_SUCCESS; *p_st_text = NULL; -- cgit v1.2.3