pkgsrc/devel/gdb6/patches/patch-au

13 lines
471 B
Text

$NetBSD: patch-au,v 1.1 2005/10/20 17:48:49 wiz Exp $
--- gdb/mi/mi-cmd-file.c.orig 2003-04-02 15:10:35.000000000 -0700
+++ gdb/mi/mi-cmd-file.c
@@ -33,8 +33,6 @@ enum mi_cmd_result
mi_cmd_file_list_exec_source_file(char *command, char **argv, int argc)
{
struct symtab_and_line st;
- int optind = 0;
- char *optarg;
if ( !mi_valid_noargs("mi_cmd_file_list_exec_source_file", argc, argv) )
error ("mi_cmd_file_list_exec_source_file: Usage: No args");