fuwaneko / node-protobuf

Google Protocol Buffers wrapper for Node.js [UNMAINTAINED]
179 stars 42 forks source link

Remove unnecessary check in conditional #7

Closed mscdex closed 11 years ago

mscdex commented 11 years ago

Either line 90 can dereference a null pointer or the extra check on line 92 is unnecessary, I am assuming the latter.

Issue(s) found via cppcheck.