misc: remove stray semicolons

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2017-05-28 10:37:06 +01:00 committed by Karel Zak
parent a9e3ec1989
commit f4d3783867
10 changed files with 11 additions and 11 deletions

View File

@ -206,7 +206,7 @@ size_t mbs_safe_encode_size(size_t bytes)
char *mbs_safe_encode(const char *s, size_t *width)
{
size_t sz = s ? strlen(s) : 0;
char *buf, *ret = NULL;;
char *buf, *ret = NULL;
if (!sz)
return NULL;

View File

@ -91,7 +91,7 @@ static int probe_adraid(blkid_probe pr,
off,
sizeof(struct adaptec_metadata));
if (!ad)
return errno ? -errno : BLKID_PROBE_NONE;;
return errno ? -errno : BLKID_PROBE_NONE;
if (ad->smagic != be32_to_cpu(AD_SIGNATURE))
return BLKID_PROBE_NONE;

View File

@ -71,9 +71,9 @@ static inline uint##bits##_t btrfs_##name(const type *s) \
/* struct btrfs_disk_key */
BTRFS_SETGET_STACK_FUNCS(disk_key_objectid, struct btrfs_disk_key,
objectid, 64);
objectid, 64)
BTRFS_SETGET_STACK_FUNCS(stack_dir_name_len, struct btrfs_dir_item, name_len, 16);
BTRFS_SETGET_STACK_FUNCS(stack_dir_name_len, struct btrfs_dir_item, name_len, 16)
/*
Red Black Trees

View File

@ -1042,7 +1042,7 @@ int mnt_context_finalize_mount(struct libmnt_context *cxt)
rc = mnt_context_prepare_update(cxt);
if (!rc)
rc = mnt_context_update_tabs(cxt);;
rc = mnt_context_update_tabs(cxt);
return rc;
}

View File

@ -896,7 +896,7 @@ int mnt_context_finalize_umount(struct libmnt_context *cxt)
rc = mnt_context_prepare_update(cxt);
if (!rc)
rc = mnt_context_update_tabs(cxt);;
rc = mnt_context_update_tabs(cxt);
return rc;
}

View File

@ -304,7 +304,7 @@ size_t scols_wrapnl_chunksize(const struct libscols_column *cl __attribute__((un
sz = mbs_safe_width(data);
sum = max(sum, sz);
data = p;;
data = p;
}
return sum;

View File

@ -143,7 +143,7 @@ static void *create_uuids(thread_t *th)
object_uuid_create(obj);
obj->tid = th->tid;
obj->pid = th->proc->pid;
obj->idx = th->index + i;;
obj->idx = th->index + i;
}
return NULL;
}

View File

@ -308,7 +308,7 @@ int main(int argc, char *argv[])
int status;
unsigned long propagation = UNSHARE_PROPAGATION_DEFAULT;
uid_t real_euid = geteuid();
gid_t real_egid = getegid();;
gid_t real_egid = getegid();
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);

View File

@ -309,7 +309,7 @@ static void buf_printf(struct buffer *bs, const char *fmt, ...)
buf_enlarge(bs, (size_t)rc + 1);
limit = bs->sz - bs->used;
va_start(ap, fmt);
rc = vsnprintf(bs->data + bs->used, limit, fmt, ap);;
rc = vsnprintf(bs->data + bs->used, limit, fmt, ap);
va_end(ap);
}

View File

@ -485,7 +485,7 @@ static void columnate_fillrows(struct column_control *ctl)
ctl->maxlength = (ctl->maxlength + TABCHAR_CELLS) & ~(TABCHAR_CELLS - 1);
numcols = ctl->termwidth / ctl->maxlength;
endcol = ctl->maxlength;
for (chcnt = col = 0, lp = ctl->ents;; ++lp) {
for (chcnt = col = 0, lp = ctl->ents; /* nothing */; ++lp) {
fputws(*lp, stdout);
chcnt += width(*lp);
if (!--ctl->nents)