Merge "app_queue: Silence GCC 8 compiler warning" into 16
This commit is contained in:
commit
bd650b6a49
|
@ -10354,7 +10354,7 @@ static char *complete_queue_add_member(const char *line, const char *word, int p
|
|||
case 6: /* only one possible match, "penalty" */
|
||||
return state == 0 ? ast_strdup("penalty") : NULL;
|
||||
case 7:
|
||||
if (state < 100) { /* 0-99 */
|
||||
if (0 <= state && state < 100) { /* 0-99 */
|
||||
char *num;
|
||||
if ((num = ast_malloc(3))) {
|
||||
sprintf(num, "%d", state);
|
||||
|
|
Loading…
Reference in New Issue