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