aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-10 05:13:15 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-10 05:13:15 +0000
commita66dd3a2b4b37b39ea213166e39d916cb374e1f3 (patch)
tree598060c59dba7c77547496b591020e5433b9194b
parentddb1262249f7d89f5f98dd513c29982e16dd78e1 (diff)
This patch corrects warnings which seem to appear
only on 64-bit compilers, gcc-4.3.2. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@174440 f38db490-d61c-443f-a65b-d21fe96a405b
-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 93968ccee..406db8722 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];