diff --git a/CommonTools/TrackerMap/src/TrackerMap.cc b/CommonTools/TrackerMap/src/TrackerMap.cc index d993e2133a840..8a28ee91b0006 100644 --- a/CommonTools/TrackerMap/src/TrackerMap.cc +++ b/CommonTools/TrackerMap/src/TrackerMap.cc @@ -157,7 +157,6 @@ TrackerMap::TrackerMap(const edm::ParameterSet &tkmapPset, } // Now load fec cabling information if (enableFecProcessing) { - int nfec = 0; int nccu; int nmod; int crate, slot, ring, addr, pos; @@ -185,7 +184,6 @@ TrackerMap::TrackerMap(const edm::ParameterSet &tkmapPset, for (std::vector::const_iterator iring = ifec->rings().begin(); iring != ifec->rings().end(); iring++) { nccu = 0; - nfec++; for (std::vector::const_iterator iccu = iring->ccus().begin(); iccu != iring->ccus().end(); iccu++) { nccu++; @@ -210,7 +208,6 @@ TrackerMap::TrackerMap(const edm::ParameterSet &tkmapPset, ccu->nmod = nmod; ccu->layer = layer; } - //std::cout <notInUse()) { int idmod = mod->idex; - int nchan = 0; *txtfile << "
" << std::endl;
           std::multimap::iterator pos;
           for (pos = apvModuleMap.lower_bound(idmod); pos != apvModuleMap.upper_bound(idmod); ++pos) {
             TmApvPair *apvpair = pos->second;
             if (apvpair != nullptr) {
-              nchan++;
               *txtfile << apvpair->text << std::endl;
             }
           }
@@ -3906,13 +3896,11 @@ void TrackerMap::printall(bool print_total, float minval1, float maxval1, std::s
           TmModule *mod = smoduleMap[key];
           if (mod != nullptr && !mod->notInUse()) {
             int idmod = mod->idex;
-            int nchan = 0;
             *txtfile << "
" << std::endl;
             std::multimap::iterator pos;
             for (pos = apvModuleMap.lower_bound(idmod); pos != apvModuleMap.upper_bound(idmod); ++pos) {
               TmApvPair *apvpair = pos->second;
               if (apvpair != nullptr) {
-                nchan++;
                 *txtfile << apvpair->text << std::endl;
               }
             }