diff -r 1ddbe54d0645 -r ccb4f6b3db21 mediator/src/Client/MediatorServerClient.cpp --- a/mediator/src/Client/MediatorServerClient.cpp Thu Aug 19 11:09:10 2010 +0300 +++ b/mediator/src/Client/MediatorServerClient.cpp Tue Aug 31 16:29:05 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