diff --git a/src/THcDC.cxx b/src/THcDC.cxx
index be89cfc5f2c3f65137b51c0336d7a99c5b06a37e..38315726ab6786836ff7ff0345e71249c0ea6ec8 100644
--- a/src/THcDC.cxx
+++ b/src/THcDC.cxx
@@ -1017,6 +1017,7 @@ Double_t THcDC::DpsiFun(Double_t ray[4], Int_t plane)
 Int_t THcDC::End(THaRunBase* run)
 {
   //  EffCalc();
+  return 0;
 }
 
 //_____________________________________________________________________________
diff --git a/src/THcDriftChamber.cxx b/src/THcDriftChamber.cxx
index 69f0c75cbded9475653eec9b4958d992a1d834e5..9d7f93612fcd16844da7d837cf9eca983230b6ec 100644
--- a/src/THcDriftChamber.cxx
+++ b/src/THcDriftChamber.cxx
@@ -309,7 +309,8 @@ Int_t THcDriftChamber::FindSpacePoints( void )
       if(fHMSStyleChambers) {
 	if(fRemove_Sppt_If_One_YPlane == 1) {
 	  // The routine is specific to HMS
-	  Int_t ndest=DestroyPoorSpacePoints(); // Only for HMS?
+	  //Int_t ndest=
+	    DestroyPoorSpacePoints(); // Only for HMS?
 	  // Loop over space points and remove those with less than 4 planes
 	  // hit and missing hits in Y,Y' planes
 	}
@@ -855,7 +856,7 @@ void THcDriftChamber::ChooseSingleHit()
     // Gather the remaining hits
     Int_t finalnum = 0;
     for(Int_t ihit=0;ihit<startnum;ihit++) {
-	THcDCHit* hit = sp->GetHit(ihit);
+      //THcDCHit* hit = sp->GetHit(ihit);
 	//	if (fhdebugflagpr) cout << " good hit = "<< ihit << " " << goodhit[ihit] << " time = " << hit->GetTime() << endl;
       if(goodhit[ihit] > 0) {	// Keep this hit
 	if (ihit > finalnum) {	// Move hit 
@@ -910,7 +911,7 @@ void THcDriftChamber::SelectSpacePoints()
     //if (fhdebugflagpr) cout << " sp pt = " << isp+1 << " # of hits = " << sp->GetNHits() << endl;
     for(Int_t ihit=0;ihit<sp->GetNHits();ihit++) {
       THcDCHit* hit = sp->GetHit(ihit);
-      THcDriftChamberPlane* plane=hit->GetWirePlane();
+      //THcDriftChamberPlane* plane=hit->GetWirePlane();
       //        if (fhdebugflagpr) cout << ihit+1 << "selecting " << plane->GetPlaneNum() << " " << plane->GetChamberNum() << " " << hit->GetTime() << " " << hit->GetDist() << " " << plane->GetCentralTime() << " " << plane->GetDriftTimeSign() << endl;
     }
   }