libimobiledevice / libusbmuxd

A client library to multiplex connections from and to iOS devices
https://libimobiledevice.org
GNU Lesser General Public License v2.1
589 stars 270 forks source link

Remove unnecessary null pointer checks #67

Closed elfring closed 5 years ago

elfring commented 5 years ago

An extra null pointer check is not needed in functions like the following.

nikias commented 5 years ago

Yes I will fix that too.

nikias commented 5 years ago

Fixed with 7b007832f6e6106f2fb2eba896efc69e38dfe374.

elfring commented 5 years ago

Thanks for your small source code improvement. Another update candidate was left over.

nikias commented 5 years ago

Fixed. And actually there was another one.

elfring commented 5 years ago

Thanks for another small source code improvement.