Minor code fixes
Minor code fixes

reverendhomer/libmtp,mmalecki/libmtp,Bluerise/libmtp,reverendhomer/libmtp,jemc/libmtp,libmtp/libmtp,kbhomes/libmtp-zune,pierrezurek/libmtp,yifanlu/libMTP,philipl/libmtp,reverendhomer/libmtp,Bluerise/libmtp,libmtp/libmtp,yifanlu/libMTP,reverendhomer/libmtp,philipl/libmtp,olunx/libmtp,kbhomes/libmtp-zune,olunx/libmtp,jemc/libmtp,libmtp/libmtp,mmalecki/libmtp,vmandela/libmtp,philipl/libmtp,jemc/libmtp,vmandela/libmtp,pierrezurek/libmtp,olunx/libmtp,mmalecki/libmtp,jemc/libmtp,Bluerise/libmtp