diff -r 6a26ca985d90 -r 849a0b46c767 commands/pubsub/pubsub.cpp --- 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; }