summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c
index cf9b26fe5..488241ab5 100644
--- a/pbx/pbx_config.c
+++ b/pbx/pbx_config.c
@@ -1481,7 +1481,7 @@ static int pbx_load_config(const char *config_file)
}
} else if (!strcasecmp(v->name, "exten")) {
int ipri;
- char *plus, *firstp;
+ char *plus;
char *pri, *appl, *data, *cidmatch;
if (!(stringp = tc = ast_strdup(v->value))) {
@@ -1551,7 +1551,7 @@ process_extension:
}
appl = S_OR(stringp, "");
/* Find the first occurrence of '(' */
- if (!(firstp = strchr(appl, '('))) {
+ if (!strchr(appl, '(')) {
/* No arguments */
data = "";
} else {