diff options
author | Stefan Krah <skrah@bytereef.org> | 2013-05-29 17:14:17 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2013-05-29 17:14:17 (GMT) |
commit | 891ca9e06ad6d0bab06573590f9100a28d9dfbfe (patch) | |
tree | bc48c0505ade62d89f74e0c4caf71efdb40cb40d /Modules/_decimal | |
parent | 6edda14b2968ca07b94a2fdde4dd43215222fcd8 (diff) | |
download | cpython-891ca9e06ad6d0bab06573590f9100a28d9dfbfe.zip cpython-891ca9e06ad6d0bab06573590f9100a28d9dfbfe.tar.gz cpython-891ca9e06ad6d0bab06573590f9100a28d9dfbfe.tar.bz2 |
Backport bff16086f03b and bcaaaa00425b.
Diffstat (limited to 'Modules/_decimal')
-rw-r--r-- | Modules/_decimal/_decimal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_decimal/_decimal.c b/Modules/_decimal/_decimal.c index 98d49e6..d3e3940 100644 --- a/Modules/_decimal/_decimal.c +++ b/Modules/_decimal/_decimal.c @@ -4469,10 +4469,10 @@ _dec_hash(PyDecObject *v) goto malloc_error; } else { - PyErr_SetString(PyExc_RuntimeError, - "dec_hash: internal error: please report"); + PyErr_SetString(PyExc_RuntimeError, /* GCOV_NOT_REACHED */ + "dec_hash: internal error: please report"); /* GCOV_NOT_REACHED */ } - result = -1; + result = -1; /* GCOV_NOT_REACHED */ } @@ -5623,7 +5623,7 @@ PyInit__decimal(void) } if (base == NULL) { - goto error; + goto error; /* GCOV_NOT_REACHED */ } ASSIGN_PTR(cm->ex, PyErr_NewException((char *)cm->fqname, base, NULL)); @@ -5655,7 +5655,7 @@ PyInit__decimal(void) base = PyTuple_Pack(1, signal_map[0].ex); } if (base == NULL) { - goto error; + goto error; /* GCOV_NOT_REACHED */ } ASSIGN_PTR(cm->ex, PyErr_NewException((char *)cm->fqname, base, NULL)); |