$NetBSD$

--- 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;
