fixes some coding guideline issue

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@271300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Vossel 2010-06-17 21:23:41 +00:00
parent a1fe641a38
commit 846050f698
1 changed files with 6 additions and 6 deletions

View File

@ -991,7 +991,6 @@ int get_in_brackets_full(char *tmp,char **out,char **residue)
*residue = "";
}
if (ast_strlen_zero(tmp)) {
return 1;
}
@ -1043,17 +1042,18 @@ int get_in_brackets_full(char *tmp,char **out,char **residue)
if (out) {
*out = tmp;
}
return 1;
}
char *get_in_brackets(char *tmp)
{
char *out;
if((get_in_brackets_full(tmp, &out, NULL))) {
return tmp;
} else {
return out;
}
if ((get_in_brackets_full(tmp, &out, NULL))) {
return tmp;
}
return out;
}
AST_TEST_DEFINE(get_in_brackets_test)