mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-13 00:04:53 +00:00
Warning be gone!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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++) {
|
||||
|
Reference in New Issue
Block a user