Skip to content

Commit

Permalink
lib: Fix compiler warning in var-expand-if
Browse files Browse the repository at this point in the history
  • Loading branch information
sirainen committed Jul 25, 2017
1 parent ac225e8 commit a602629
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/var-expand-if.c
Expand Up @@ -66,6 +66,8 @@ static int var_expand_if_comp(const char *lhs, const char *_op, const char *rhs,
{
bool neg = FALSE;
enum var_expand_if_op op = var_expand_if_str_to_comp(_op);

*result_r = FALSE;
if (op == OP_UNKNOWN) {
*error_r = t_strdup_printf("if: Unsupported comparator '%s'", _op);
return -1;
Expand Down

0 comments on commit a602629

Please sign in to comment.