From e8257525613ce072a8352c3d44066f61a22a3a54 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Tue, 6 May 2003 08:23:43 +0000
Subject: [PATCH] remove warning on MacOS X (unused arguments and variables).

git-svn-id: http://root.cern.ch/svn/root/trunk@6552 27541ba8-7e3a-0410-8455-c3a389f83636
---
 fumili/src/TFumili.cxx                     | 8 +++++---
 hist/src/TF12.cxx                          | 6 +++---
 proof/src/TEventIter.cxx                   | 4 ++--
 proof/src/TProofPlayer.cxx                 | 4 +++-
 proof/src/TProofProgressDialog.cxx         | 4 ++--
 proof/src/TVirtualPacketizer.cxx           | 4 ++--
 proofplayer/src/TEventIter.cxx             | 4 ++--
 proofplayer/src/TProofPlayer.cxx           | 4 +++-
 proofplayer/src/TVirtualPacketizer.cxx     | 4 ++--
 sessionviewer/src/TProofProgressDialog.cxx | 4 ++--
 10 files changed, 26 insertions(+), 20 deletions(-)

diff --git a/fumili/src/TFumili.cxx b/fumili/src/TFumili.cxx
index 42d06548ea9..22b4884b282 100644
--- a/fumili/src/TFumili.cxx
+++ b/fumili/src/TFumili.cxx
@@ -1,4 +1,4 @@
-// @(#)root/fumili:$Name:  $:$Id: TFumili.cxx,v 1.3 2003/05/05 20:58:24 brun Exp $
+// @(#)root/fumili:$Name:  $:$Id: TFumili.cxx,v 1.4 2003/05/05 21:36:13 brun Exp $
 // Author: Stanislav Nesterov  07/05/2003
 
 //BEGIN_HTML
@@ -212,7 +212,8 @@ Double_t TFumili::Chisquare(Int_t npar, Double_t *params)
 
 
 //______________________________________________________________________________
-void TFumili::Clear(Option_t *opt){
+void TFumili::Clear(Option_t *)
+{
   //
   // Resets all parameter names, values and errors to zero
   // 
@@ -872,7 +873,8 @@ Int_t TFumili::Minimize()
 }
 
 //______________________________________________________________________________
-Double_t TFumili::EvalTFN(Double_t *df,Double_t*X){
+Double_t TFumili::EvalTFN(Double_t * /*df*/, Double_t *X)
+{
   // Evaluate theoretical function
   // df: array of partial derivatives
   // X:  vector of theoretical function argument
diff --git a/hist/src/TF12.cxx b/hist/src/TF12.cxx
index 65c78171646..1c232c5a557 100644
--- a/hist/src/TF12.cxx
+++ b/hist/src/TF12.cxx
@@ -1,4 +1,4 @@
-// @(#)root/hist:$Name:  $:$Id: TF12.cxx,v 1.19 2003/03/31 16:04:35 brun Exp $
+// @(#)root/hist:$Name:  $:$Id: TF12.cxx,v 1.1 2003/04/05 16:53:03 brun Exp $
 // Author: Rene Brun   05/04/2003
 
 /*************************************************************************
@@ -119,7 +119,7 @@ TF1 *TF12::DrawCopy(Option_t *option) const
 }
 
 //______________________________________________________________________________
-Double_t TF12::Eval(Double_t x, Double_t y, Double_t z, Double_t t)
+Double_t TF12::Eval(Double_t x, Double_t /*y*/, Double_t /*z*/, Double_t /*t*/)
 {
 //*-*-*-*-*-*-*-*-*-*-*Evaluate this formula*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
 //*-*                  =====================
@@ -159,7 +159,7 @@ Double_t TF12::EvalPar(const Double_t *x, const Double_t *params)
 
 
 //______________________________________________________________________________
-void TF12::SavePrimitive(ofstream &out, Option_t *option)
+void TF12::SavePrimitive(ofstream & /*out*/, Option_t * /*option*/)
 {
     // Save primitive as a C++ statement(s) on output stream out
 
diff --git a/proof/src/TEventIter.cxx b/proof/src/TEventIter.cxx
index da72db0ba21..8c8045dc2aa 100644
--- a/proof/src/TEventIter.cxx
+++ b/proof/src/TEventIter.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TEventIter.cxx,v 1.9 2003/04/04 10:21:16 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TEventIter.cxx,v 1.10 2003/05/01 17:51:42 rdm Exp $
 // Author: Maarten Ballintijn   07/01/02
 
 /*************************************************************************
@@ -69,7 +69,7 @@ TEventIter::~TEventIter()
 
 
 //______________________________________________________________________________
-void TEventIter::StopProcess(Bool_t abort)
+void TEventIter::StopProcess(Bool_t /*abort*/)
 {
    fStop = kTRUE;
 }
diff --git a/proof/src/TProofPlayer.cxx b/proof/src/TProofPlayer.cxx
index 1afb76507b4..a839ac26bf8 100644
--- a/proof/src/TProofPlayer.cxx
+++ b/proof/src/TProofPlayer.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TProofPlayer.cxx,v 1.21 2003/04/04 10:21:16 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TProofPlayer.cxx,v 1.22 2003/05/01 17:51:42 rdm Exp $
 // Author: Maarten Ballintijn   07/01/02
 
 /*************************************************************************
@@ -267,6 +267,7 @@ Int_t TProofPlayer::DrawSelect(TDSet *set, const char *varexp,
                                const char *selection, Option_t *option,
                                Long64_t nentries, Long64_t firstentry)
 {
+   if (set || varexp || selection || option || nentries || firstentry) { }
    MayNotUse("DrawSelect");
    return -1;
 }
@@ -380,6 +381,7 @@ Int_t TProofPlayerRemote::DrawSelect(TDSet *set, const char *varexp,
                                      const char *selection, Option_t *option,
                                      Long64_t nentries, Long64_t firstentry)
 {
+   if (set || varexp || selection || option || nentries || firstentry) { }
    Info("DrawSelect","Not implemented");
    return 0;
 
diff --git a/proof/src/TProofProgressDialog.cxx b/proof/src/TProofProgressDialog.cxx
index cd14e8ebe62..6dd809062da 100644
--- a/proof/src/TProofProgressDialog.cxx
+++ b/proof/src/TProofProgressDialog.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TProofProgressDialog.cxx,v 1.3 2003/04/04 10:20:44 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TProofProgressDialog.cxx,v 1.4 2003/04/11 16:39:12 rdm Exp $
 // Author: Fons Rademakers   21/03/03
 
 /*************************************************************************
@@ -240,7 +240,7 @@ void TProofProgressDialog::DoClose()
 }
 
 //______________________________________________________________________________
-void TProofProgressDialog::DoKeep(Bool_t on)
+void TProofProgressDialog::DoKeep(Bool_t)
 {
    // Handle keep toggle button
 
diff --git a/proof/src/TVirtualPacketizer.cxx b/proof/src/TVirtualPacketizer.cxx
index e47fb336ca1..36724f88357 100644
--- a/proof/src/TVirtualPacketizer.cxx
+++ b/proof/src/TVirtualPacketizer.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TVirtualPacketizer.cxx,v 1.4 2002/12/02 18:50:05 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TVirtualPacketizer.cxx,v 1.5 2003/05/01 17:51:42 rdm Exp $
 // Author: Maarten Ballintijn    9/7/2002
 
 /*************************************************************************
@@ -123,7 +123,7 @@ TDSetElement *TVirtualPacketizer::GetNextPacket(TSlave *, TMessage *)
 
 
 //______________________________________________________________________________
-void TVirtualPacketizer::StopProcess(Bool_t abort)
+void TVirtualPacketizer::StopProcess(Bool_t /*abort*/)
 {
    fStop = kTRUE;
 }
diff --git a/proofplayer/src/TEventIter.cxx b/proofplayer/src/TEventIter.cxx
index da72db0ba21..8c8045dc2aa 100644
--- a/proofplayer/src/TEventIter.cxx
+++ b/proofplayer/src/TEventIter.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TEventIter.cxx,v 1.9 2003/04/04 10:21:16 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TEventIter.cxx,v 1.10 2003/05/01 17:51:42 rdm Exp $
 // Author: Maarten Ballintijn   07/01/02
 
 /*************************************************************************
@@ -69,7 +69,7 @@ TEventIter::~TEventIter()
 
 
 //______________________________________________________________________________
-void TEventIter::StopProcess(Bool_t abort)
+void TEventIter::StopProcess(Bool_t /*abort*/)
 {
    fStop = kTRUE;
 }
diff --git a/proofplayer/src/TProofPlayer.cxx b/proofplayer/src/TProofPlayer.cxx
index 1afb76507b4..a839ac26bf8 100644
--- a/proofplayer/src/TProofPlayer.cxx
+++ b/proofplayer/src/TProofPlayer.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TProofPlayer.cxx,v 1.21 2003/04/04 10:21:16 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TProofPlayer.cxx,v 1.22 2003/05/01 17:51:42 rdm Exp $
 // Author: Maarten Ballintijn   07/01/02
 
 /*************************************************************************
@@ -267,6 +267,7 @@ Int_t TProofPlayer::DrawSelect(TDSet *set, const char *varexp,
                                const char *selection, Option_t *option,
                                Long64_t nentries, Long64_t firstentry)
 {
+   if (set || varexp || selection || option || nentries || firstentry) { }
    MayNotUse("DrawSelect");
    return -1;
 }
@@ -380,6 +381,7 @@ Int_t TProofPlayerRemote::DrawSelect(TDSet *set, const char *varexp,
                                      const char *selection, Option_t *option,
                                      Long64_t nentries, Long64_t firstentry)
 {
+   if (set || varexp || selection || option || nentries || firstentry) { }
    Info("DrawSelect","Not implemented");
    return 0;
 
diff --git a/proofplayer/src/TVirtualPacketizer.cxx b/proofplayer/src/TVirtualPacketizer.cxx
index e47fb336ca1..36724f88357 100644
--- a/proofplayer/src/TVirtualPacketizer.cxx
+++ b/proofplayer/src/TVirtualPacketizer.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TVirtualPacketizer.cxx,v 1.4 2002/12/02 18:50:05 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TVirtualPacketizer.cxx,v 1.5 2003/05/01 17:51:42 rdm Exp $
 // Author: Maarten Ballintijn    9/7/2002
 
 /*************************************************************************
@@ -123,7 +123,7 @@ TDSetElement *TVirtualPacketizer::GetNextPacket(TSlave *, TMessage *)
 
 
 //______________________________________________________________________________
-void TVirtualPacketizer::StopProcess(Bool_t abort)
+void TVirtualPacketizer::StopProcess(Bool_t /*abort*/)
 {
    fStop = kTRUE;
 }
diff --git a/sessionviewer/src/TProofProgressDialog.cxx b/sessionviewer/src/TProofProgressDialog.cxx
index cd14e8ebe62..6dd809062da 100644
--- a/sessionviewer/src/TProofProgressDialog.cxx
+++ b/sessionviewer/src/TProofProgressDialog.cxx
@@ -1,4 +1,4 @@
-// @(#)root/proof:$Name:  $:$Id: TProofProgressDialog.cxx,v 1.3 2003/04/04 10:20:44 rdm Exp $
+// @(#)root/proof:$Name:  $:$Id: TProofProgressDialog.cxx,v 1.4 2003/04/11 16:39:12 rdm Exp $
 // Author: Fons Rademakers   21/03/03
 
 /*************************************************************************
@@ -240,7 +240,7 @@ void TProofProgressDialog::DoClose()
 }
 
 //______________________________________________________________________________
-void TProofProgressDialog::DoKeep(Bool_t on)
+void TProofProgressDialog::DoKeep(Bool_t)
 {
    // Handle keep toggle button
 
-- 
GitLab