mtpfws/mtpfw/dataproviders/dputility/src/cmtpknowledgehandler.cpp
branchRCL_3
changeset 3 8b094906a049
parent 1 f8e15b44d440
child 15 f85613f12947
--- 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;