[Python-checkins] cpython (3.3): remove unused zero constants

benjamin.peterson python-checkins at python.org
Sat Mar 15 17:50:25 CET 2014


http://hg.python.org/cpython/rev/a3f80c22a441
changeset:   89665:a3f80c22a441
branch:      3.3
parent:      89663:6a78bbd0fda4
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Mar 15 11:49:49 2014 -0500
summary:
  remove unused zero constants

files:
  Modules/_decimal/_decimal.c |  3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)


diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c
--- a/Modules/_decimal/_decimal.c
+++ b/Modules/_decimal/_decimal.c
@@ -3928,9 +3928,6 @@
     return ret;
 }
 
-static mpd_uint_t data_zero[1] = {0};
-static const mpd_t zero = {MPD_STATIC|MPD_CONST_DATA, 0, 1, 1, 1, data_zero};
-
 static PyObject *
 nm_mpd_qpow(PyObject *base, PyObject *exp, PyObject *mod)
 {

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list