This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

{i386,m68k}-stub.c patch, remove unused variable 'error'.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]