summaryrefslogtreecommitdiff
path: root/Modules/cPickle.c
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2008-06-22 15:27:10 +0000
committerFacundo Batista <facundobatista@gmail.com>2008-06-22 15:27:10 +0000
commit3ab7d627b2c342a7f476c7406f9083a892c9b0e5 (patch)
tree10bfec659d3e24b55e503cbbc994e84f88429d1c /Modules/cPickle.c
parentfb8fd22514f9280583ff75b52d625fb1709a5474 (diff)
downloadcpython-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.c2
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
}