From: Facundo Batista Date: Sun, 22 Jun 2008 15:27:10 +0000 (+0000) Subject: Issue 3164. Small fix to don't repeat a comparation X-Git-Tag: v2.6b2~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1461886eeebe59a87ca13471ba0a3fe04dd3c165;p=thirdparty%2FPython%2Fcpython.git Issue 3164. Small fix to don't repeat a comparation without necessity. --- diff --git a/Modules/cPickle.c b/Modules/cPickle.c index 51fc22683107..afa75fd5fe36 100644 --- a/Modules/cPickle.c +++ b/Modules/cPickle.c @@ -2366,6 +2366,7 @@ save(Picklerobject *self, PyObject *args, int pers_save) res = save_string(self, args, 0); goto finally; } + break; #ifdef Py_USING_UNICODE case 'u': @@ -2373,6 +2374,7 @@ save(Picklerobject *self, PyObject *args, int pers_save) res = save_unicode(self, args, 0); goto finally; } + break; #endif }