Warning be gone!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Joshua Colp 19 years ago
parent 797efb5d4b
commit 17fabe225d

@ -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++) {

Loading…
Cancel
Save