--- a/perfsrv/memspy/Driver/Kernel/Source/MemSpyDriverInspectedProcess.cpp Fri Oct 08 14:56:39 2010 +0300
+++ b/perfsrv/memspy/Driver/Kernel/Source/MemSpyDriverInspectedProcess.cpp Tue Oct 26 16:20:32 2010 +0300
@@ -102,8 +102,9 @@
// the user-side thread stacks.
iInfoCurrent.iMemoryStack = StackSize( *aProcess );
- // Request events
- EventMonitor().RequestEvents( *this );
+ // Request events
+ // Ignore error since it can only be KErrAlreadyExists or KErrNone
+ (void) EventMonitor().RequestEvents( *this );
// Find initial chunks that are mapped into process
FindChunks( *aProcess );
@@ -111,8 +112,8 @@
// Indicate that we have data waiting for client. This will
// cause the client's RS to be completed as soon as it
// registers with us...
- UpdateStatistics();
- CompleteClientsRequest( KErrNone, &iInfoCurrent );
+ (void) UpdateStatistics();// Ignore return since we don't care if it's different or not
+ CompleteClientsRequest( KErrNone, &iInfoCurrent );
}
}
//