projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e16f080
)
kconfig: gconf: remove unneeded variable in text_insert_msg
author
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 16 Jul 2025 23:24:12 +0000
(08:24 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 26 Jul 2025 10:55:37 +0000
(19:55 +0900)
The 'msg' and 'message' refer to the same pointer.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/gconf.c
patch
|
blob
|
history
diff --git
a/scripts/kconfig/gconf.c
b/scripts/kconfig/gconf.c
index
e4f8927
..
651140a
100644
(file)
--- a/
scripts/kconfig/gconf.c
+++ b/
scripts/kconfig/gconf.c
@@
-90,11
+90,10
@@
static void text_insert_help(struct menu *menu)
}
-static void text_insert_msg(const char *title, const char *m
essage
)
+static void text_insert_msg(const char *title, const char *m
sg
)
{
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);