summaryrefslogtreecommitdiff
path: root/src/gui_gtk.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-12-08 13:11:21 +0100
committerBram Moolenaar <Bram@vim.org>2010-12-08 13:11:21 +0100
commite980d8a934393c4da5ff0d5ece6f3e158fa98306 (patch)
treea54d79f0937f2d6d4a196615fc5f39f7330f1877 /src/gui_gtk.c
parent005c3c27ee586126d7a40c41911cf600b9bbe3d1 (diff)
downloadvim-git-e980d8a934393c4da5ff0d5ece6f3e158fa98306.tar.gz
updated for version 7.3.076v7.3.076
Problem: Clang warnings for dead code. Solution: Remove it. (Carlo Teubner)
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r--src/gui_gtk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 326a30cff..b95f46a7f 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -1798,7 +1798,6 @@ find_replace_cb(GtkWidget *widget UNUSED, gpointer data)
char_u *repl_text;
gboolean direction_down;
SharedFindReplace *sfr;
- int rc;
flags = (int)(long)data; /* avoid a lint warning here */
@@ -1824,7 +1823,7 @@ find_replace_cb(GtkWidget *widget UNUSED, gpointer data)
repl_text = CONVERT_FROM_UTF8(repl_text);
find_text = CONVERT_FROM_UTF8(find_text);
- rc = gui_do_findrepl(flags, find_text, repl_text, direction_down);
+ gui_do_findrepl(flags, find_text, repl_text, direction_down);
CONVERT_FROM_UTF8_FREE(repl_text);
CONVERT_FROM_UTF8_FREE(find_text);
}