Warning be gone!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp 2006-10-17 21:09:49 +00:00
parent 797efb5d4b
commit 17fabe225d
1 changed files with 2 additions and 1 deletions

View File

@ -202,8 +202,9 @@ AST_MUTEX_DEFINE_STATIC(actionlock);
/*! \brief Convert authority code to a list of options */
static char *authority_to_str(int authority, char *res, int reslen)
{
int i, len = reslen;
int i;
char *dst = res, *sep = "";
size_t len = reslen;
res[0] = '\0';
for (i = 0; i < (sizeof(perms) / sizeof(perms[0])) - 1; i++) {