]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdadm.c: fix compile error "switch condition has boolean value"
authorGioh Kim <gi-oh.kim@profitbricks.com>
Thu, 30 Mar 2017 16:58:13 +0000 (18:58 +0200)
committerJes Sorensen <Jes.Sorensen@gmail.com>
Thu, 30 Mar 2017 17:46:14 +0000 (13:46 -0400)
commit13428e2e76e8149336282d514908ced424f878a2
treeeacb20f4cb647550f7e9e9709b5e5f4b40c5a067
parentb53bfba6119d3f6f56eb9e10e5a59da6901af159
mdadm.c: fix compile error "switch condition has boolean value"

Remove a boolean expression in switch condition
to prevent compile error of some compilers,
for example, gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2).

Signed-off-by: Gioh Kim <gi-oh.kim@profitbricks.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@gmail.com>
mdadm.c