Code causing warning messages during compilation corrected.
[u/mrichter/AliRoot.git] / TFluka / stuprf.cxx
index dc5b6ef6b65c3f8ab3a897e36de9ee233d146201..932486c759ee2cbab01749826a535dfefa4fee7b 100644 (file)
@@ -26,9 +26,9 @@
 #include "TVector3.h"
 
 extern "C" {
 #include "TVector3.h"
 
 extern "C" {
-void stuprf(Int_t& ij, Int_t& mreg,
-            Double_t& xx, Double_t& yy, Double_t& zz,
-           Int_t& numsec, Int_t& npprmr)
+    void stuprf(Int_t& /*ij*/, Int_t& /*mreg*/,
+               Double_t& xx, Double_t& yy, Double_t& zz,
+               Int_t& numsec, Int_t& npprmr)
 {
 //*----------------------------------------------------------------------*
 //*                                                                      *
 {
 //*----------------------------------------------------------------------*
 //*                                                                      *
@@ -66,7 +66,7 @@ void stuprf(Int_t& ij, Int_t& mreg,
 // clarify with Alberto
   if (numsec > npprmr) {
 // Now call the PushTrack(...)
 // clarify with Alberto
   if (numsec > npprmr) {
 // Now call the PushTrack(...)
-    Int_t done = 1;
+    Int_t done = 0;
 
     Int_t parent =  TRACKR.ispusr[mkbmx2-1];
 
 
     Int_t parent =  TRACKR.ispusr[mkbmx2-1];