[clang-tidy] fix misleading identation
Found with readability-misleading-indentation Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
ed23cbce64
commit
ad52498014
|
@ -201,9 +201,10 @@ void list_disklabel(struct fdisk_context *cxt)
|
|||
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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -355,7 +355,7 @@ int parse_timestamp(const char *t, usec_t *usec)
|
|||
int get_gmtoff(const struct tm *tp)
|
||||
{
|
||||
if (tp->tm_isdst < 0)
|
||||
return 0;
|
||||
return 0;
|
||||
|
||||
#if HAVE_TM_GMTOFF
|
||||
return tp->tm_gmtoff;
|
||||
|
|
|
@ -292,8 +292,7 @@ int main(int argc, char **argv)
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue