From: Thomas Wouters Date: Wed, 15 Feb 2006 23:10:32 +0000 (+0000) Subject: Remove two unused Py_ssize_t variables (merge glitches, looks like.) X-Git-Tag: v2.5a0~670 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4701af5bf5ba082d67b9e9c962650ca3d48fcb46;p=thirdparty%2FPython%2Fcpython.git Remove two unused Py_ssize_t variables (merge glitches, looks like.) --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 43ef061ad097..e09a1a804dc2 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())