baidu / ICE-BA

Apache License 2.0
706 stars 233 forks source link

Remove an unnecessary null pointer check #4

Open elfring opened 6 years ago

elfring commented 6 years ago

An extra null pointer check is not needed in a function like the destructor for the class “Viewer”.

wangjio commented 6 years ago

Thanks for your advise! We will fix them later.