diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-06-17 12:18:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-06-17 12:18:42 +0000 |
commit | 5d320b2635275397f866c650084e9dbd7a3932a4 (patch) | |
tree | a15c24ec55e82a159350850ae7041189c096d07b /pjlib/src | |
parent | d4f70b77eb8fce1f6d97150c8969b30032dba33b (diff) |
Misc fix (#838): fixed warning about unitialized status variable with gcc
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2767 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src')
-rw-r--r-- | pjlib/src/pj/addr_resolv_symbian.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pj/addr_resolv_symbian.cpp b/pjlib/src/pj/addr_resolv_symbian.cpp index fbca1085..8af57c5f 100644 --- a/pjlib/src/pj/addr_resolv_symbian.cpp +++ b/pjlib/src/pj/addr_resolv_symbian.cpp @@ -157,7 +157,7 @@ PJ_DEF(pj_status_t) pj_getaddrinfo(int af, const pj_str_t *nodename, unsigned *count, pj_addrinfo ai[]) { unsigned start; - pj_status_t status; + pj_status_t status = PJ_EAFNOTSUP; PJ_ASSERT_RETURN(af==PJ_AF_INET || af==PJ_AF_INET6 || af==PJ_AF_UNSPEC, PJ_EAFNOTSUP); |