Commit 5ceb15fd authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: gconf: remove unneeded variable in text_insert_msg



The 'msg' and 'message' refer to the same pointer.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent e16f0806
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -90,11 +90,10 @@ static void text_insert_help(struct menu *menu)
}


static void text_insert_msg(const char *title, const char *message)
static void text_insert_msg(const char *title, const char *msg)
{
	GtkTextBuffer *buffer;
	GtkTextIter start, end;
	const char *msg = message;

	buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(text_w));
	gtk_text_buffer_get_bounds(buffer, &start, &end);