mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Merged revisions 317474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r317474 | russell | 2011-05-05 17:36:33 -0500 (Thu, 05 May 2011) | 2 lines Fix more "set but unused" warnings. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@317475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -110,7 +110,6 @@ static unsigned int iax_str2flags(const char *buf)
|
||||
{
|
||||
int x;
|
||||
int len;
|
||||
int found;
|
||||
unsigned int flags = 0;
|
||||
char *e;
|
||||
while(buf && *buf) {
|
||||
@@ -119,7 +118,6 @@ static unsigned int iax_str2flags(const char *buf)
|
||||
len = e - buf;
|
||||
else
|
||||
len = 0;
|
||||
found = 0;
|
||||
for (x = 0; x < ARRAY_LEN(iax_flags); x++) {
|
||||
if ((len && !strncasecmp(iax_flags[x].name, buf, len)) ||
|
||||
(!len && !strcasecmp(iax_flags[x].name, buf))) {
|
||||
|
Reference in New Issue
Block a user