mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Simplify a conditional with equivalent branches.
This commit is contained in:
parent
782b4d0eae
commit
ff61737212
1 changed files with 1 additions and 4 deletions
|
@ -465,10 +465,7 @@ void Val::Describe(ODesc* d) const
|
||||||
d->SP();
|
d->SP();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( d->IsReadable() )
|
|
||||||
ValDescribe(d);
|
ValDescribe(d);
|
||||||
else
|
|
||||||
Val::ValDescribe(d);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Val::DescribeReST(ODesc* d) const
|
void Val::DescribeReST(ODesc* d) const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue