From 2a5b76b09b1014da9ce00a01ee78db7f5db4c496 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Sat, 27 Feb 2016 23:31:24 +0000 Subject: [PATCH] (edit_block_copy_cmd): cleanup -Wconditional-uninitialized warning. Signed-off-by: Andreas Mohr Signed-off-by: Andrew Borodin --- src/editor/editcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c index c7e5f7028..71f2c5b0c 100644 --- a/src/editor/editcmd.c +++ b/src/editor/editcmd.c @@ -2331,8 +2331,8 @@ void edit_block_copy_cmd (WEdit * edit) { off_t start_mark, end_mark, current = edit->buffer.curs1; - off_t mark1, mark2; - long c1, c2; + off_t mark1 = 0, mark2 = 0; + long c1 = 0, c2 = 0; off_t size; unsigned char *copy_buf;