blob: c564046bda51d57807811af69ba812bac76539cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ag,v 1.1 2005/10/20 17:48:49 wiz Exp $
--- gdb/cli/cli-script.c.orig 2004-02-25 08:57:42.000000000 -0700
+++ gdb/cli/cli-script.c
@@ -1071,9 +1071,8 @@ define_command (char *comname, int from_
CMD_POST_HOOK
};
struct command_line *cmds;
- struct cmd_list_element *c, *newc, *oldc, *hookc = 0;
+ struct cmd_list_element *c, *newc, *hookc = 0;
char *tem = comname;
- char *tem2;
char tmpbuf[MAX_TMPBUF];
int hook_type = CMD_NO_HOOK;
int hook_name_size = 0;
|