summaryrefslogtreecommitdiff
path: root/res/res_config_pgsql.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2007-06-28 19:41:18 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2007-06-28 19:41:18 +0000
commita952147446af3305e46ea1c7139c951c2f777752 (patch)
treee0ecc6c53be20cead23b7d702f6f9a18f83cb22e /res/res_config_pgsql.c
parentdaec10d1871f3b17980a9de27edcb66a471adf3e (diff)
Remove the ill-advised ast_restrdupa API call and related structures
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_config_pgsql.c')
-rw-r--r--res/res_config_pgsql.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c
index 821f32cc0..e8993dd86 100644
--- a/res/res_config_pgsql.c
+++ b/res/res_config_pgsql.c
@@ -208,7 +208,6 @@ static struct ast_config *realtime_multi_pgsql(const char *database, const char
char *chunk;
char *op;
const char *newparam, *newval;
- struct ast_realloca ra;
struct ast_variable *var = NULL;
struct ast_config *cfg = NULL;
struct ast_category *cat = NULL;
@@ -218,8 +217,6 @@ static struct ast_config *realtime_multi_pgsql(const char *database, const char
return NULL;
}
- memset(&ra, 0, sizeof(ra));
-
if (!(cfg = ast_config_new()))
return NULL;