summaryrefslogtreecommitdiff
path: root/devel/gdbada/patches/patch-ae
blob: 13b1ee1fad5809cc34a49e1fed23745462bf9654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ae,v 1.2 2005/11/13 14:16:05 shannonjr Exp $

--- gdb/cli/cli-script.c.orig	2004-10-20 17:12:51.000000000 -0600
+++ gdb/cli/cli-script.c
@@ -1083,9 +1083,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;