]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 262796 via svnmerge from
authorLeif Madsen <leif@leifmadsen.com>
Wed, 12 May 2010 19:32:05 +0000 (19:32 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Wed, 12 May 2010 19:32:05 +0000 (19:32 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262796 | lmadsen | 2010-05-12 14:31:42 -0500 (Wed, 12 May 2010) | 4 lines

  Remove unnecessary WARNING message in ael/pval.c

  (closes issue #17145)
  Reported by: okrief
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@262797 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/ael/pval.c

index 5865634d88c6d20b9baca44feed7c6ab17a29497..94d71b5f4a62305ec8d47e841909ca3178244f95 100644 (file)
@@ -2519,8 +2519,6 @@ void check_pval_item(pval *item, struct argapp *apps, int in_globals)
                        || strcasecmp(item->u1.str,"macroif") == 0
                        || strcasecmp(item->u1.str,"stackpop") == 0
                        || strcasecmp(item->u1.str,"execIf") == 0 ) {
-                       ast_log(LOG_WARNING,"Warning: file %s, line %d-%d: application call to %s affects flow of control, and needs to be re-written using AEL if, while, goto, etc. keywords instead!\n",
-                                       item->filename, item->startline, item->endline, item->u1.str);
                        warns++;
                }
                if (strcasecmp(item->u1.str,"macroexit") == 0) {