Kaydet (Commit) 29fbd21d authored tarafından Christian Heimes's avatar Christian Heimes

Remove redundant check fro md5module.

CID 1294331 (#1 of 1): Identical code for different branches (IDENTICAL_BRANCHES)
üst e8e4283c
......@@ -350,13 +350,8 @@ MD5Type_copy_impl(MD5object *self)
{
MD5object *newobj;
if (Py_TYPE(self) == &MD5type) {
if ( (newobj = newMD5object())==NULL)
return NULL;
} else {
if ( (newobj = newMD5object())==NULL)
return NULL;
}
if ((newobj = newMD5object())==NULL)
return NULL;
newobj->hash_state = self->hash_state;
return (PyObject *)newobj;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment