Re: dht-common.c compilation warning from mainline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Its a bug. Got introduced in [1]. Need {} for the body of if. Either me or Poornima will be sending a patch to fix this.

[1] https://review.gluster.org/16902

----- Original Message -----
> From: "Atin Mukherjee" <amukherj@xxxxxxxxxx>
> To: "Gluster Devel" <gluster-devel@xxxxxxxxxxx>
> Sent: Monday, April 10, 2017 1:06:07 PM
> Subject:  dht-common.c compilation warning from mainline
> 
> dht-common.c: In function 'dht_opendir':
> dht-common.c:4919:25: warning: this 'if' clause does not guard...
> [-Wmisleading-indentation]
> if (subvolumes[i] != local->first_up_subvol)
> ^~
> dht-common.c:4922:33: note: ...this statement, but the latter is misleadingly
> indented as if it is guarded by the 'if'
> if (ret)
> ^~
> 
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@xxxxxxxxxxx
> http://lists.gluster.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux