diff -r 4843bb5893b6 -r 8b094906a049 mtpfws/mtpfw/dataproviders/dputility/src/cmtpknowledgehandler.cpp --- a/mtpfws/mtpfw/dataproviders/dputility/src/cmtpknowledgehandler.cpp Fri Mar 12 15:46:41 2010 +0200 +++ b/mtpfws/mtpfw/dataproviders/dputility/src/cmtpknowledgehandler.cpp Mon Mar 15 12:43:12 2010 +0200 @@ -536,7 +536,6 @@ TMTPResponseCode responseCode = CheckGenObjectPropertyL(aElement, aOperationCode); if (responseCode == EMTPRespCodeOK) { - TInt ret = KErrNone; TUint16 propertyCode(aElement.Uint16L(CMTPTypeObjectPropListElement::EPropertyCode)); switch (propertyCode) { @@ -569,10 +568,6 @@ responseCode = EMTPRespCodeObjectPropNotSupported; break; } - if (KErrNone != ret) - { - responseCode = EMTPRespCodeGeneralError; - } } __FLOG(_L8("SetObjectPropertyL - Exit")); return responseCode;