[Python-checkins] r64455 - python/trunk/Modules/cPickle.c

facundo.batista python-checkins at python.org
Sun Jun 22 17:27:11 CEST 2008


Author: facundo.batista
Date: Sun Jun 22 17:27:10 2008
New Revision: 64455

Log:

Issue 3164. Small fix to don't repeat a comparation
without necessity.


Modified:
   python/trunk/Modules/cPickle.c

Modified: python/trunk/Modules/cPickle.c
==============================================================================
--- python/trunk/Modules/cPickle.c	(original)
+++ python/trunk/Modules/cPickle.c	Sun Jun 22 17:27:10 2008
@@ -2366,6 +2366,7 @@
 			res = save_string(self, args, 0);
 			goto finally;
 		}
+		break;
 
 #ifdef Py_USING_UNICODE
         case 'u':
@@ -2373,6 +2374,7 @@
 			res = save_unicode(self, args, 0);
 			goto finally;
 		}
+		break;
 #endif
 	}
 


More information about the Python-checkins mailing list