Bug fix (A. Gheata)
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Feb 2004 16:31:05 +0000 (16:31 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 11 Feb 2004 16:31:05 +0000 (16:31 +0000)
Flugg/WrapNorml.cxx

index 891cbb8..d7cc771 100644 (file)
 #include "globals.hh"
 
 
-void nrmlwr(G4double& pSx, G4double& pSy, G4double& pSz,
+void nrmlwr(G4double& /*pSx*/, G4double& /*pSy*/, G4double& /*pSz*/,
             G4double& pVx, G4double& pVy, G4double& pVz,
            G4double* norml, const G4int& oldReg, 
-           const G4int& newReg, G4int& flagErr)
+           const G4int& /*newReg*/, G4int& flagErr)
 {
   //flag
 #ifdef G4GEOMETRY_DEBUG
@@ -63,8 +63,8 @@ void nrmlwr(G4double& pSx, G4double& pSy, G4double& pSz,
   G4ThreeVector normalGlob;
   
   //normal computing
-  G4bool* valid;
-  normalLoc=ptrNavig->GetLocalExitNormal(valid);
+  G4bool valid;
+  normalLoc=ptrNavig->GetLocalExitNormal(&valid);
   if(valid) {
     normalLoc *= -1;