]> granicus.if.org Git - python/commitdiff
Issue 3289. Removed two lines that ended doing nothing.
authorFacundo Batista <facundobatista@gmail.com>
Sat, 5 Jul 2008 19:19:50 +0000 (19:19 +0000)
committerFacundo Batista <facundobatista@gmail.com>
Sat, 5 Jul 2008 19:19:50 +0000 (19:19 +0000)
Modules/timemodule.c

index c6f68f8e234e15f7425be20a426461ea1a36ad66..e8de2c5706e22e5bbe2aa69c119925e70f60d58e 100644 (file)
@@ -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);