projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1410fb
)
Remove two unused Py_ssize_t variables (merge glitches, looks like.)
author
Thomas Wouters
<thomas@python.org>
Wed, 15 Feb 2006 23:10:32 +0000
(23:10 +0000)
committer
Thomas Wouters
<thomas@python.org>
Wed, 15 Feb 2006 23:10:32 +0000
(23:10 +0000)
Objects/unicodeobject.c
patch
|
blob
|
history
diff --git
a/Objects/unicodeobject.c
b/Objects/unicodeobject.c
index 43ef061ad09744b2d2422a8c93c05d11ff4d0f0f..e09a1a804dc2041c735d080ff13993308bc90e08 100644
(file)
--- 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())