diff options
author | Facundo Batista <facundobatista@gmail.com> | 2008-06-22 15:27:10 +0000 |
---|---|---|
committer | Facundo Batista <facundobatista@gmail.com> | 2008-06-22 15:27:10 +0000 |
commit | 3ab7d627b2c342a7f476c7406f9083a892c9b0e5 (patch) | |
tree | 10bfec659d3e24b55e503cbbc994e84f88429d1c /Modules/cPickle.c | |
parent | fb8fd22514f9280583ff75b52d625fb1709a5474 (diff) | |
download | cpython-3ab7d627b2c342a7f476c7406f9083a892c9b0e5.tar.gz |
Issue 3164. Small fix to don't repeat a comparation
without necessity.
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r-- | Modules/cPickle.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |