Remove redundant check fro md5module.
CID 1294331 (#1 of 1): Identical code for different branches (IDENTICAL_BRANCHES)
This commit is contained in:
parent
e8e4283cec
commit
29fbd21d73
|
@ -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;
|
||||
}
|
||||
|
||||
newobj->hash_state = self->hash_state;
|
||||
return (PyObject *)newobj;
|
||||
|
|
Loading…
Reference in New Issue