[asterisk-bugs] [JIRA] (ASTERISK-20889) asterisk/strings.h: struct ast_str used before its declaration
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Fri Jan 4 13:13:45 CST 2013
Rusty Newton created ASTERISK-20889:
---------------------------------------
Summary: asterisk/strings.h: struct ast_str used before its declaration
Key: ASTERISK-20889
URL: https://issues.asterisk.org/jira/browse/ASTERISK-20889
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Core/General
Affects Versions: 11.1.0
Environment: Any
Reporter: Pavel Troller
Severity: Minor
A prototype of ast_regex_string_to_regex_pattern() function on line 268 of strings.h contains "struct ast_str **regex_pattern" parameter, but struct ast_str is declared later, on line 379.It causes compilation warnings ("struct ast_str declared inside parameter list") and leads to miscompiled code.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list