[PATCH 12/34] lib/mbsalign: initializations values are never read [clang-analyzer]

Sami Kerola
2013-07-07T19:55:32Z

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