diff -r d6b9e89d80a3 -r 0f7422b6b602 mediator/src/Client/MediatorServerClient.cpp --- a/mediator/src/Client/MediatorServerClient.cpp Tue Aug 10 14:46:45 2010 +0300 +++ b/mediator/src/Client/MediatorServerClient.cpp Mon Aug 23 14:47:20 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -465,7 +465,7 @@ command.iCommandId = aCommandId; command.iVersion = aVersion; //Time out is initiatilized to 0 as its not used on the server side. - //this is just to compress the tool warnings. + //this is just to supress the tool warnings. command.iTimeout = 0; TCommandBuffer commandBuffer( command ); @@ -504,6 +504,12 @@ // And command TCommand command; command.iCommandId = aCommandId; + //All the remaining parameters of TCommand are initiatilized to 0 as its not used on the server side. + //this is just to suppress the tool warnings. + command.iVersion = TVersion(0,0,0); + command.iCaps.SetEmpty(); + command.iTimeout = 0; + TCommandBuffer commandBuffer( command ); // Status @@ -542,6 +548,12 @@ // And command TCommand command; command.iCommandId = aCommandId; + //All the remaining parameters of TCommand are initiatilized to 0 as its not used on the server side. + //this is just to suppress the tool warnings. + command.iVersion = TVersion(0,0,0); + command.iCaps.SetEmpty(); + command.iTimeout = 0; + TCommandBuffer commandBuffer( command ); // Send the command