[asterisk-commits] eliel: branch group/appdocsxml r152360 - /team/group/appdocsxml/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 28 08:58:22 CDT 2008
Author: eliel
Date: Tue Oct 28 08:58:21 2008
New Revision: 152360
URL: http://svn.digium.com/view/asterisk?view=rev&rev=152360
Log:
Remove not needed casts while using ast_xml_attr *, pointed out by kpfleming.
Modified:
team/group/appdocsxml/main/pbx.c
Modified: team/group/appdocsxml/main/pbx.c
URL: http://svn.digium.com/view/asterisk/team/group/appdocsxml/main/pbx.c?view=diff&rev=152360&r1=152359&r2=152360
==============================================================================
--- team/group/appdocsxml/main/pbx.c (original)
+++ team/group/appdocsxml/main/pbx.c Tue Oct 28 08:58:21 2008
@@ -3669,7 +3669,7 @@
required = 0;
hasparams = 1;
if ((paramtype = ast_xml_get_attribute(node, "required"))) {
- if (ast_true((const char *) paramtype)) {
+ if (ast_true(paramtype)) {
required = 1;
}
ast_xml_free_attr(paramtype);
@@ -3699,7 +3699,7 @@
}
if (node != firstparam && node != lastparam) {
if ((paramtype = ast_xml_get_attribute(node, "required"))) {
- if (!ast_true((const char *) paramtype)) {
+ if (!ast_true(paramtype)) {
optmidnode = 1;
break;
}
More information about the asterisk-commits
mailing list