From b6c413cc7767eb83557ea566a9fc7364b551c457 Mon Sep 17 00:00:00 2001 From: sec Date: Tue, 18 Feb 1997 21:18:09 +0000 Subject: [PATCH] Cleaned some code and removed some warning messages --- paradynd/src/metricFocusNode.C | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/paradynd/src/metricFocusNode.C b/paradynd/src/metricFocusNode.C index 6ce5efc..b29b3d3 100644 --- a/paradynd/src/metricFocusNode.C +++ b/paradynd/src/metricFocusNode.C @@ -1320,7 +1320,7 @@ void metricDefinitionNode::disable() inserted_ = false; if (aggregate_) { /* disable components of aggregate metrics */ - unsigned c_size = components.size(); + // unsigned c_size = components.size(); //for (unsigned u=0; udisable(); @@ -1611,7 +1611,7 @@ void processCost(process *proc, traceHeader *h, costUpdate *s) #endif #ifndef SHM_SAMPLING -void processSample(int pid, traceHeader *h, traceSample *s) +void processSample(int /* pid */, traceHeader *h, traceSample *s) { // called from processTraceStream (perfStream.C) when a TR_SAMPLE record // has arrived from the appl. @@ -1697,7 +1697,8 @@ bool instReqNode::unFork(dictionary_hash &map) cons } bool instReqNode::insertInstrumentation(process *theProc, - returnInstance *&retInstance) { + returnInstance *&retInstance) +{ // NEW: We may manually trigger the instrumentation, via a call to postRPCtoDo() // addInstFunc() is one of the key routines in all paradynd. -- 1.8.3.1