diff -r 9b2cffad4b5e -r 6646c35e558c piprofilerui/ui/hb/src/piprofilerengineprivate.cpp --- a/piprofilerui/ui/hb/src/piprofilerengineprivate.cpp Wed Sep 15 12:13:45 2010 +0300 +++ b/piprofilerui/ui/hb/src/piprofilerengineprivate.cpp Wed Oct 13 14:32:52 2010 +0300 @@ -181,10 +181,7 @@ // check now if a second appearance exists in process list, // i.e. engine started from eshell => two engine processes appear in normal case - err = procName.Next(aResult2); - if (err != KErrNone) { - return err; - } + procName.Next(aResult2); // check if aResult2 contained the second appearance of profiler engine if(aResult2.CompareF(aResult) > 0)