commands/pubsub/pubsub.cpp
changeset 69 849a0b46c767
parent 51 3ad902ef5222
--- a/commands/pubsub/pubsub.cpp	Wed Oct 13 15:07:15 2010 +0100
+++ b/commands/pubsub/pubsub.cpp	Sun Oct 17 18:43:12 2010 +0100
@@ -276,7 +276,6 @@
 	valDes.Zero();
 	enum TType { EUnknown, EInt, EDes };
 	TType type = EUnknown;
-	TInt reallen = 0;
 
 	TInt err = KErrNotFound;
 
@@ -290,6 +289,7 @@
 			}
 		else
 			{
+			TInt reallen = 0;
 			err = iMemAccess.GetProperty(cat, aKey, valDes, reallen);
 			type = EDes;
 			}