Kaydet (Commit) 4701af5b authored tarafından Thomas Wouters's avatar Thomas Wouters

Remove two unused Py_ssize_t variables (merge glitches, looks like.)

üst b1410fb4
...@@ -6630,7 +6630,6 @@ formatfloat(Py_UNICODE *buf, ...@@ -6630,7 +6630,6 @@ formatfloat(Py_UNICODE *buf,
worst case length = 3 + 10 (len of INT_MAX) + 1 = 14 (use 20)*/ worst case length = 3 + 10 (len of INT_MAX) + 1 = 14 (use 20)*/
char fmt[20]; char fmt[20];
double x; double x;
Py_ssize_t result;
x = PyFloat_AsDouble(v); x = PyFloat_AsDouble(v);
if (x == -1.0 && PyErr_Occurred()) if (x == -1.0 && PyErr_Occurred())
...@@ -6702,7 +6701,6 @@ formatint(Py_UNICODE *buf, ...@@ -6702,7 +6701,6 @@ formatint(Py_UNICODE *buf,
char fmt[64]; /* plenty big enough! */ char fmt[64]; /* plenty big enough! */
char *sign; char *sign;
long x; long x;
Py_ssize_t result;
x = PyInt_AsLong(v); x = PyInt_AsLong(v);
if (x == -1 && PyErr_Occurred()) if (x == -1 && PyErr_Occurred())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment