mediator/src/Client/MediatorServerClient.cpp
changeset 63 09d657f1ee00
parent 0 4e1aa6a622a0
child 61 8cb079868133
--- a/mediator/src/Client/MediatorServerClient.cpp	Wed Aug 18 11:03:14 2010 +0300
+++ b/mediator/src/Client/MediatorServerClient.cpp	Thu Sep 02 21:48:26 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