]> granicus.if.org Git - python/commitdiff
Issue 3164. Small fix to don't repeat a comparation
authorFacundo Batista <facundobatista@gmail.com>
Sun, 22 Jun 2008 15:27:10 +0000 (15:27 +0000)
committerFacundo Batista <facundobatista@gmail.com>
Sun, 22 Jun 2008 15:27:10 +0000 (15:27 +0000)
without necessity.

Modules/cPickle.c

index 51fc2268310747f40ef8667ebf9fd958de4dc7af..afa75fd5fe36ff2931e91cc26340c78a429f411c 100644 (file)
@@ -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
        }