summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-18 08:03:13 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-18 08:03:13 (GMT)
commit9b3a2eec1c64466cd2e2004b7732cf2b5a79a644 (patch)
treef5ca950e6968ca5da547586bd6439dd0478812df /Objects
parent9bb0958b23c662e1a709322411a18843805e90d8 (diff)
downloadcpython-9b3a2eec1c64466cd2e2004b7732cf2b5a79a644.zip
cpython-9b3a2eec1c64466cd2e2004b7732cf2b5a79a644.tar.gz
cpython-9b3a2eec1c64466cd2e2004b7732cf2b5a79a644.tar.bz2
Issues #25890, #25891, #25892: Removed unused variables in Windows code.
Reported by Alexander Riccio.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 895a4e8..ad8f505 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7332,7 +7332,6 @@ encode_code_page_strict(UINT code_page, PyObject **outbytes,
BOOL usedDefaultChar = FALSE;
BOOL *pusedDefaultChar = &usedDefaultChar;
int outsize;
- PyObject *exc = NULL;
wchar_t *p;
Py_ssize_t size;
const DWORD flags = encode_code_page_flags(code_page, NULL);