Skip to content

Commit 8eb559f

Browse files
author
thomas.wouters
committed
Remove two unused Py_ssize_t variables (merge glitches, looks like.) git-svn-id: http://svn.python.org/projects/python/trunk@42390 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 75821bc commit 8eb559f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Objects/unicodeobject.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6630,7 +6630,6 @@ formatfloat(Py_UNICODE *buf,
66306630
worst case length = 3 + 10 (len of INT_MAX) + 1 = 14 (use 20)*/
66316631
char fmt[20];
66326632
double x;
6633-
Py_ssize_t result;
66346633

66356634
x = PyFloat_AsDouble(v);
66366635
if (x == -1.0 && PyErr_Occurred())
@@ -6702,7 +6701,6 @@ formatint(Py_UNICODE *buf,
67026701
char fmt[64]; /* plenty big enough! */
67036702
char *sign;
67046703
long x;
6705-
Py_ssize_t result;
67066704

67076705
x = PyInt_AsLong(v);
67086706
if (x == -1 && PyErr_Occurred())

0 commit comments

Comments
 (0)