mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user