From 72cf09d617ed1e7855356f7576ff8584ba6e8167 Mon Sep 17 00:00:00 2001 From: Matt Mower Date: Thu, 12 Nov 2015 01:29:58 -0600 Subject: mtp: Address clang compilation errors * Move default value of debug_enabled to declaration * Set more-correct fake values for MtpProperty sets Change-Id: Ife3c15ac6c908848c16a609e8e505336e53c19d8 --- mtp/mtp_MtpDatabase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mtp/mtp_MtpDatabase.cpp') 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; } -- cgit v1.2.3