summaryrefslogtreecommitdiff
path: root/apps/app_osplookup.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2009-02-26 17:45:22 +0000
committerSteve Murphy <murf@digium.com>2009-02-26 17:45:22 +0000
commit22ea970494c8e25a72edff864ea47c1568c2a08d (patch)
tree19dfa60963ee50648f7aa5437b018df98ca752d3 /apps/app_osplookup.c
parent5421f204bc5fef08d98e14d4dc3e3ffa08182433 (diff)
These small fixes prevent compiler warnings with ubuntu 8.10's gcc-4.3.2, which tend to break my dev-mode build. Not a problem in 1.6.x.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@178870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_osplookup.c')
-rw-r--r--apps/app_osplookup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c
index 3c2b2ea19..29b275de4 100644
--- a/apps/app_osplookup.c
+++ b/apps/app_osplookup.c
@@ -713,7 +713,7 @@ static int osp_auth(
unsigned int* timelimit)
{
int res;
- struct osp_provider* p;
+ struct osp_provider* p = NULL;
char dest[OSP_NORSTR_SIZE];
*transaction = OSP_INVALID_HANDLE;
@@ -861,7 +861,7 @@ static int osp_lookup(
struct osp_result* result)
{
int res;
- struct osp_provider* p;
+ struct osp_provider* p = NULL;
char source[OSP_NORSTR_SIZE];
char callingnum[OSP_NORSTR_SIZE];
char callednum[OSP_NORSTR_SIZE];
@@ -1076,7 +1076,7 @@ static int osp_next(
struct osp_result* result)
{
int res;
- struct osp_provider* p;
+ struct osp_provider* p = NULL;
char callingnum[OSP_NORSTR_SIZE];
char callednum[OSP_NORSTR_SIZE];
char destination[OSP_NORSTR_SIZE];