[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.41,2.42

Tim Peters tim_one@users.sourceforge.net
Sat, 17 Feb 2001 10:12:52 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv610/python/dist/src/Modules

Modified Files:
	pyexpat.c 
Log Message:
Bug #132816:  Compiler warning in PYEXPAT.C for extra ';'
Removed trailing ";" in instances of "};" closing code blocks.


Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.41
retrieving revision 2.42
diff -C2 -r2.41 -r2.42
*** pyexpat.c	2001/02/16 20:46:26	2.41
--- pyexpat.c	2001/02/17 18:12:50	2.42
***************
*** 1081,1087 ****
      for (i=0;i<256;i++) {
  	template_buffer[i]=i;
!     };
      template_buffer[256]=0;
! };
  
  int 
--- 1081,1087 ----
      for (i=0;i<256;i++) {
  	template_buffer[i]=i;
!     }
      template_buffer[256]=0;
! }
  
  int 
***************
*** 1098,1102 ****
      if (_u_string==NULL) {
  	return result;
!     };
      
      for (i=0; i<256; i++) {
--- 1098,1102 ----
      if (_u_string==NULL) {
  	return result;
!     }
      
      for (i=0; i<256; i++) {
***************
*** 1106,1111 ****
  	} else {
  	    info->map[i] = c;
! 	};
!     };
      
      info->data = NULL;
--- 1106,1111 ----
  	} else {
  	    info->map[i] = c;
! 	}
!     }
      
      info->data = NULL;