Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- lib/mbsalign.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mbsalign.c b/lib/mbsalign.c index e420fea..89ef032 100644 --- a/lib/mbsalign.c +++ b/lib/mbsalign.c @@ -254,8 +254,8 @@ mbsalign_unibyte: if (dest_size != 0) { char *dest_end = dest + dest_size - 1; - size_t start_spaces = n_spaces / 2 + n_spaces % 2; - size_t end_spaces = n_spaces / 2; + size_t start_spaces; + size_t end_spaces; switch (align) { -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html