summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-04-18 16:45:22 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-04-18 16:45:22 (GMT)
commited4b21ff4f79dbd7461afa6739bfc1970ceee2d6 (patch)
treee0c9afe03842ef68fa348f03ea9a49a3211a83bd /Modules
parentbc771e9b195da34ff52e38023396f70ab5a112d4 (diff)
downloadcpython-ed4b21ff4f79dbd7461afa6739bfc1970ceee2d6.zip
cpython-ed4b21ff4f79dbd7461afa6739bfc1970ceee2d6.tar.gz
cpython-ed4b21ff4f79dbd7461afa6739bfc1970ceee2d6.tar.bz2
Cosmetic change: initialize digits to 1 (redundant).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_decimal/libmpdec/mpdecimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.c b/Modules/_decimal/libmpdec/mpdecimal.c
index 9607b15..bad66d8 100644
--- a/Modules/_decimal/libmpdec/mpdecimal.c
+++ b/Modules/_decimal/libmpdec/mpdecimal.c
@@ -3089,7 +3089,7 @@ _mpd_qaddsub(mpd_t *result, const mpd_t *a, const mpd_t *b, uint8_t sign_b,
{
mpd_t *big, *small;
MPD_NEW_STATIC(big_aligned,0,0,0,0);
- MPD_NEW_CONST(tiny,0,0,0,1,1,1);
+ MPD_NEW_CONST(tiny,0,0,1,1,1,1);
mpd_uint_t carry;
mpd_ssize_t newsize, shift;
mpd_ssize_t exp, i;