diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2014-05-22 00:16:59 +0200 |
---|---|---|
committer | Thomas Klausner <wiz@NetBSD.org> | 2014-05-23 17:57:39 +0200 |
commit | e3a9f82775946f056e997df4528e5ff536edf4a5 (patch) | |
tree | 412f9ab9c0abe99fd5db9a5379f83ff633ca4652 | |
parent | bb926ce84421b1fc9795c229ce32332b77a4b18d (diff) |
Fix shadow warning.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
-rw-r--r-- | handler.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -587,17 +587,17 @@ Search(Widget w, XEvent * event, String * params, Cardinal * num_params) case 'O': case 'o': if (file != NULL) { - Widget w; + Widget w2; char *label; - w = CreateManpage(file); - if (w) { + w2 = CreateManpage(file); + if (w2) { man_pages_shown++; /* Put title into new manual page. */ label = man_globals->manpage_title; - man_globals = GetGlobals(w); + man_globals = GetGlobals(w2); strcpy(man_globals->manpage_title, label); ChangeLabel(man_globals->label, label); } |