small code cleanup in block class
This commit is contained in:
@@ -229,11 +229,7 @@ void Block::CopyParameters(Block *source, Block *dest)
|
||||
|
||||
void Block::Link(Block *a, Block *b)
|
||||
{
|
||||
if (a == b) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (a == nullptr || b == nullptr) {
|
||||
if (a == b || a == nullptr || b == nullptr) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user