diff options
author | Matt Mower <mowerm@gmail.com> | 2015-11-12 08:29:58 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2015-12-22 18:37:30 +0100 |
commit | 72cf09d617ed1e7855356f7576ff8584ba6e8167 (patch) | |
tree | 4b2bb9c2ef2cdbe0df2ee0698c5db89457c61f03 | |
parent | f2fs: Update make rules for CM compatibility (diff) | |
download | android_bootable_recovery-72cf09d617ed1e7855356f7576ff8584ba6e8167.tar android_bootable_recovery-72cf09d617ed1e7855356f7576ff8584ba6e8167.tar.gz android_bootable_recovery-72cf09d617ed1e7855356f7576ff8584ba6e8167.tar.bz2 android_bootable_recovery-72cf09d617ed1e7855356f7576ff8584ba6e8167.tar.lz android_bootable_recovery-72cf09d617ed1e7855356f7576ff8584ba6e8167.tar.xz android_bootable_recovery-72cf09d617ed1e7855356f7576ff8584ba6e8167.tar.zst android_bootable_recovery-72cf09d617ed1e7855356f7576ff8584ba6e8167.zip |
-rwxr-xr-x | mtp/mtp_MtpDatabase.cpp | 4 | ||||
-rwxr-xr-x | mtp/twrpMtp.cpp | 2 | ||||
-rwxr-xr-x | mtp/twrpMtp.hpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mtp/mtp_MtpDatabase.cpp b/mtp/mtp_MtpDatabase.cpp index 17053f1de..5eb7d8e61 100755 --- a/mtp/mtp_MtpDatabase.cpp +++ b/mtp/mtp_MtpDatabase.cpp @@ -836,8 +836,8 @@ MtpProperty* MyMtpDatabase::getDevicePropertyDesc(MtpDeviceProperty property) { // get current value // TODO: add actual values - result->setCurrentValue('\0'); - result->setDefaultValue('\0'); + result->setCurrentValue(0); + result->setDefaultValue(0); break; } diff --git a/mtp/twrpMtp.cpp b/mtp/twrpMtp.cpp index d47b8fa0d..2b2de01cd 100755 --- a/mtp/twrpMtp.cpp +++ b/mtp/twrpMtp.cpp @@ -68,7 +68,7 @@ int main(int argc, char* argv[]) { } #endif //def TWRPMTP -twrpMtp::twrpMtp(int debug_enabled = 0) { +twrpMtp::twrpMtp(int debug_enabled) { if (debug_enabled) MtpDebug::enableDebug(); mtpstorages = new storages; diff --git a/mtp/twrpMtp.hpp b/mtp/twrpMtp.hpp index ec7cd4b59..9ad270c72 100755 --- a/mtp/twrpMtp.hpp +++ b/mtp/twrpMtp.hpp @@ -33,7 +33,7 @@ class twrpMtp { public: - twrpMtp(int debug_enabled /* = 0 */); + twrpMtp(int debug_enabled = 0); pthread_t threadserver(void); pid_t forkserver(int mtppipe[2]); void addStorage(std::string display, std::string path, int mtpid, uint64_t maxFileSize); |