This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
{i386,m68k}-stub.c patch, remove unused variable 'error'.
- To: gdb-patches@sourceware.cygnus.com
- Subject: {i386,m68k}-stub.c patch, remove unused variable 'error'.
- From: jtc@redback.com (J.T. Conklin)
- Date: 31 Aug 1999 23:37:44 -0700
- Reply-To: jtc@redback.com
This patch removes the unused variable 'error'.
1999-08-31 J.T. Conklin <jtc@redback.com>
* i386-stub.c, m68k-stub.c (error): Removed unused variable.
Index: i386-stub.c
===================================================================
RCS file: /home/jtc/CVSROOT/gdb/gdb/i386-stub.c,v
retrieving revision 1.7
diff -c -r1.7 i386-stub.c
*** i386-stub.c 1999/09/01 06:29:28 1.7
--- i386-stub.c 1999/09/01 06:30:22
***************
*** 560,568 ****
}
- static short error;
-
-
void debug_error(format, parm)
char * format;
char * parm;
--- 560,565 ----
***************
*** 740,746 ****
stepping = 0;
while (1==1) {
- error = 0;
remcomOutBuffer[0] = 0;
ptr = getpacket();
--- 737,742 ----
Index: m68k-stub.c
===================================================================
RCS file: /home/jtc/CVSROOT/gdb/gdb/m68k-stub.c,v
retrieving revision 1.7
diff -c -r1.7 m68k-stub.c
*** m68k-stub.c 1999/09/01 06:29:29 1.7
--- m68k-stub.c 1999/09/01 06:30:51
***************
*** 626,634 ****
}
- static short error;
-
-
void debug_error(format, parm)
char * format;
char * parm;
--- 626,631 ----
***************
*** 779,785 ****
stepping = 0;
while (1==1) {
- error = 0;
remcomOutBuffer[0] = 0;
ptr = getpacket();
switch (*ptr++) {
--- 776,781 ----
--
J.T. Conklin
RedBack Networks