summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-02-15 23:10:32 (GMT)
committerThomas Wouters <thomas@python.org>2006-02-15 23:10:32 (GMT)
commit4701af5bf5ba082d67b9e9c962650ca3d48fcb46 (patch)
treeabfc572aa4b9b3e578caa4b70609341edf4202a8
parentb1410fb4337fcf849c6d1ec76a7fb1e2c12c2508 (diff)
downloadcpython-4701af5bf5ba082d67b9e9c962650ca3d48fcb46.zip
cpython-4701af5bf5ba082d67b9e9c962650ca3d48fcb46.tar.gz
cpython-4701af5bf5ba082d67b9e9c962650ca3d48fcb46.tar.bz2
Remove two unused Py_ssize_t variables (merge glitches, looks like.)
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 43ef061..e09a1a8 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -6630,7 +6630,6 @@ formatfloat(Py_UNICODE *buf,
worst case length = 3 + 10 (len of INT_MAX) + 1 = 14 (use 20)*/
char fmt[20];
double x;
- Py_ssize_t result;
x = PyFloat_AsDouble(v);
if (x == -1.0 && PyErr_Occurred())
@@ -6702,7 +6701,6 @@ formatint(Py_UNICODE *buf,
char fmt[64]; /* plenty big enough! */
char *sign;
long x;
- Py_ssize_t result;
x = PyInt_AsLong(v);
if (x == -1 && PyErr_Occurred())