Found with readability-misleading-indentation
Signed-off-by: Rosen Penev <rosenp@gmail.com>
if (fdisk_partition_has_wipe(cxt, pa)) {
if (!post)
fdisk_info(cxt, ""); /* line break */
- fdisk_info(cxt, _("Filesystem/RAID signature on partition %zu will be wiped."),
- fdisk_partition_get_partno(pa) + 1);
- post++;
+
+ fdisk_info(cxt, _("Filesystem/RAID signature on partition %zu will be wiped."),
+ fdisk_partition_get_partno(pa) + 1);
+ post++;
}
}
int get_gmtoff(const struct tm *tp)
{
if (tp->tm_isdst < 0)
- return 0;
+ return 0;
#if HAVE_TM_GMTOFF
return tp->tm_gmtoff;
printf(_(", error"));
printf("\n");
}
- } else
- if (ioctl(fd, cmds->op - offset, cmds->val) < 0)
+ } else if (ioctl(fd, cmds->op - offset, cmds->val) < 0)
warn(_("ioctl failed"));
cmdst = cmds;
cmds = cmds->next;