Set variable dummy even if not used.
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jun 1999 14:21:49 +0000 (14:21 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Jun 1999 14:21:49 +0000 (14:21 +0000)
EVGEN/AliGenMUONlib.cxx

index fcfe4a9f245ae9f5b988211b149b1545ea9dbf78..d7e7be6b4908d7928158969c8537db32359e3e7b 100644 (file)
@@ -202,7 +202,7 @@ Double_t AliGenMUONlib::PtPhi( Double_t *px, Double_t *)
 //    y-distribution
 Double_t AliGenMUONlib::YPhi( Double_t *px, Double_t *)
 {
-    Double_t *dummy;
+    Double_t *dummy=0;
     return YJpsi(px,dummy);
 }
 //                 particle composition
@@ -230,7 +230,7 @@ Double_t AliGenMUONlib::PtCharm( Double_t *px, Double_t *)
 //                  y-distribution
 Double_t AliGenMUONlib::YCharm( Double_t *px, Double_t *)
 {
-    Double_t *dummy;
+    Double_t *dummy=0;
     return YJpsi(px,dummy);
 }
 
@@ -274,7 +274,7 @@ Double_t AliGenMUONlib::PtBeauty( Double_t *px, Double_t *)
 //                     y-distribution
 Double_t AliGenMUONlib::YBeauty( Double_t *px, Double_t *)
 {
-    Double_t *dummy;
+    Double_t *dummy=0;
     return YJpsi(px,dummy);
 }