Skip to content

Commit

Permalink
Fix compiler warning:
Browse files Browse the repository at this point in the history
ua_label.c:399:13: warning: suggest parentheses around ‘&&’ within ‘||’
[-Wparentheses]
    if (!yes &&
                    ^
  • Loading branch information
pstorz committed Mar 5, 2016
1 parent a797c82 commit 7399408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dird/ua_label.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ static void label_from_barcodes(UAContext *ua, int drive,
}

if (!yes &&
!get_yesno(ua, _("Do you want to label these Volumes? (yes|no): ")) ||
(ua->pint32_val == 0)) {
( !get_yesno(ua, _("Do you want to label these Volumes? (yes|no): ")) ||
(ua->pint32_val == 0))) {
goto bail_out;
}

Expand Down

0 comments on commit 7399408

Please sign in to comment.