Merge of master-melb:xfs-cmds:24590a by kenmcd.
fix unused var warning
do_bulkstat(parent_t *parentbuf, xfs_bstat_t *bstatbuf,
char *mntpt, int fsfd, jdm_fshandle_t *fshandlep)
{
- int error;
__s32 buflenout;
__u64 lastino = 0;
xfs_bstat_t *p;
xfs_fsop_bulkreq_t bulkreq;
struct stat mntstat;
- if ((error = stat(mntpt, &mntstat))) {
+ if (stat(mntpt, &mntstat)) {
fprintf(stderr, _("can't stat mount point \"%s\": %s\n"),
mntpt, strerror(errno));
return 1;