From 1461886eeebe59a87ca13471ba0a3fe04dd3c165 Mon Sep 17 00:00:00 2001 From: Facundo Batista Date: Sun, 22 Jun 2008 15:27:10 +0000 Subject: [PATCH] Issue 3164. Small fix to don't repeat a comparation without necessity. --- Modules/cPickle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/cPickle.c b/Modules/cPickle.c index 51fc2268310..afa75fd5fe3 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 }