summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2008-07-05 19:19:50 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2008-07-05 19:19:50 (GMT)
commit083902af8f47f6ff08fadaca4191c0c2378214c2 (patch)
treee60b0e9b5ffaad1246854545bfead7b18b4e8e14 /Modules/timemodule.c
parent1ecce468f8498e2fcbd57115e6ab8159b240e05e (diff)
downloadcpython-083902af8f47f6ff08fadaca4191c0c2378214c2.zip
cpython-083902af8f47f6ff08fadaca4191c0c2378214c2.tar.gz
cpython-083902af8f47f6ff08fadaca4191c0c2378214c2.tar.bz2
Issue 3289. Removed two lines that ended doing nothing.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index c6f68f8..e8de2c5 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -600,8 +600,6 @@ time_mktime(PyObject *self, PyObject *tup)
{
struct tm buf;
time_t tt;
- tt = time(&tt);
- buf = *localtime(&tt);
if (!gettmarg(tup, &buf))
return NULL;
tt = mktime(&buf);