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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1461886eeebe59a87ca13471ba0a3fe04dd3c165;p=python Issue 3164. Small fix to don't repeat a comparation without necessity. --- diff --git a/Modules/cPickle.c b/Modules/cPickle.c index 51fc226831..afa75fd5fe 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 }