diff --git a/hist/hist/src/TFormula.cxx b/hist/hist/src/TFormula.cxx index c52a7fedc9e9070422054ef83e27895c724ed490..610343f3d651a9977f4f2a8efdeebaf97c253603 100644 --- a/hist/hist/src/TFormula.cxx +++ b/hist/hist/src/TFormula.cxx @@ -3668,9 +3668,9 @@ void TFormula::MakePrimitive(const char *expr, Int_t pos) TString cbase(expr); cbase.ReplaceAll("Double_t ",""); int paran = cbase.First("("); - int nargs = 0; + // int nargs = 0; if (paran>0) { - nargs = 1; + //nargs = 1; cbase[paran]=0; } diff --git a/io/io/src/TContainerConverters.cxx b/io/io/src/TContainerConverters.cxx index 2cabcdf4ef1d27f3e020d1ec5f578c3f7f5899cc..5c5a874d0bc2b669f7be736e261da217c491c36c 100644 --- a/io/io/src/TContainerConverters.cxx +++ b/io/io/src/TContainerConverters.cxx @@ -177,11 +177,11 @@ void TConvertClonesArrayToProxy::operator()(TBuffer &b, void *pmember, Int_t siz if (v > 1) fName.Streamer(b); s.Streamer(b); strncpy(classv,s.Data(),255); - Int_t clv = 0; + //Int_t clv = 0; char *semicolon = strchr(classv,';'); if (semicolon) { *semicolon = 0; - clv = atoi(semicolon+1); + //clv = atoi(semicolon+1); } TClass *cl = TClass::GetClass(classv); if (!cl) { diff --git a/io/io/src/TMakeProject.cxx b/io/io/src/TMakeProject.cxx index 6704a84cdf54bfadd5016476d88e4d315d98f221..da393ffdf8277d50313c6daeedbd7113653ffbed 100644 --- a/io/io/src/TMakeProject.cxx +++ b/io/io/src/TMakeProject.cxx @@ -348,7 +348,7 @@ void TMakeProject::GenerateMissingStreamerInfos(TList *extrainfos, const char *c UInt_t len = strlen(clname); UInt_t nest = 0; UInt_t last = 0; - Bool_t istemplate = kFALSE; // mark whether the current right most entity is a class template. + //Bool_t istemplate = kFALSE; // mark whether the current right most entity is a class template. for (UInt_t i = 0; i < len; ++i) { switch (clname[i]) { @@ -356,7 +356,7 @@ void TMakeProject::GenerateMissingStreamerInfos(TList *extrainfos, const char *c if (nest == 0 && clname[i+1] == ':') { TString incName(clname, i); GenerateMissingStreamerInfo(extrainfos, incName.Data(), kTRUE); - istemplate = kFALSE; + //istemplate = kFALSE; } break; case '<': diff --git a/io/sql/src/TSQLFile.cxx b/io/sql/src/TSQLFile.cxx index aba696875c05e02061381f5cbbd5876cbc1cfb8f..5a4737ac288bb8228b797e13e7124ecbf4365824 100644 --- a/io/sql/src/TSQLFile.cxx +++ b/io/sql/src/TSQLFile.cxx @@ -1091,7 +1091,7 @@ Bool_t TSQLFile::ReadConfigurations() // should be found, otherwise will be error fSQLIOversion = 0; - Int_t lock = 0; + // Int_t lock = 0; #define ReadIntCfg(name, target) \ if ((field.CompareTo(name, TString::kIgnoreCase)==0)) \ @@ -1121,7 +1121,7 @@ Bool_t TSQLFile::ReadConfigurations() ReadIntCfg(sqlio::cfg_UseTransactions, fUseTransactions) ReadIntCfg(sqlio::cfg_UseIndexes, fUseIndexes) ReadIntCfg(sqlio::cfg_ModifyCounter, fModifyCounter) - ReadIntCfg(sqlio::cfg_LockingMode, lock) + // ReadIntCfg(sqlio::cfg_LockingMode, lock) { Error("ReadConfigurations","Invalid configuration field %s", field.Data()); fSQLIOversion = 0; diff --git a/io/sql/src/TSQLStructure.cxx b/io/sql/src/TSQLStructure.cxx index 6d8a7f5b5a17bba649dc8a3c6f6198a6b9268268..36d598d409aca69cd9959302d4eee27063b24d49 100644 --- a/io/sql/src/TSQLStructure.cxx +++ b/io/sql/src/TSQLStructure.cxx @@ -1476,7 +1476,7 @@ Bool_t TSQLStructure::StoreClassInNormalForm(TSqlRegistry* reg) TSQLClassInfo* sqlinfo = reg->f->RequestSQLClassInfo(cl->GetName(), version); TSQLTableData columns(reg->f, sqlinfo); - Bool_t needblob = kFALSE; + // Bool_t needblob = kFALSE; TSqlRawBuffer rawdata(reg, sqlinfo); @@ -1520,7 +1520,7 @@ Bool_t TSQLStructure::StoreClassInNormalForm(TSqlRegistry* reg) //reg->f->CreateRawTable(sqlinfo); //blobid = currrawid; // column will contain first raw id //reg->ConvertBlobs(&blobs, sqlinfo, currrawid); - needblob = kTRUE; + //needblob = kTRUE; } //blobs.Delete(); diff --git a/main/src/h2root.cxx b/main/src/h2root.cxx index b993acbb589f9b4b9669dbc4db1d5642aea12d9c..5717d4af8295161e4ee67bc9b2b03290325d15bf 100644 --- a/main/src/h2root.cxx +++ b/main/src/h2root.cxx @@ -742,7 +742,7 @@ void convert_cwn(Int_t id) // add support for 1-byte (Char_t) and 2-byte (Short_t) integers - Int_t nBytesUsed = 4; // default for integers + // Int_t nBytesUsed = 4; // default for integers if( itype == 2 ) { if( optcwn == 1 ) { @@ -751,10 +751,10 @@ void convert_cwn(Int_t id) } else { if( nbits > 8 ) { strlcat(fullname,"/S",1024); - nBytesUsed = 2; + //nBytesUsed = 2; } else { strlcat(fullname,"/B",1024); - nBytesUsed = 1; + //nBytesUsed = 1; } } } else { @@ -770,10 +770,10 @@ void convert_cwn(Int_t id) } else { if( nbits > 8 ) { strlcat(fullname,"/s",1024); - nBytesUsed = 2; + //nBytesUsed = 2; } else { strlcat(fullname,"/b",1024); - nBytesUsed = 1; + //nBytesUsed = 1; } } } else { diff --git a/net/auth/src/TAuthenticate.cxx b/net/auth/src/TAuthenticate.cxx index efccb3b6f50eb1aed0a5239931a847667bd52eef..36dfeadd233d6608d7e4b50054fc675d63afae56 100644 --- a/net/auth/src/TAuthenticate.cxx +++ b/net/auth/src/TAuthenticate.cxx @@ -3448,9 +3448,10 @@ Int_t TAuthenticate::GenRSAKeys() // works as expected Bool_t notOk = 1; rsa_NUMBER p1, p2, rsa_n, rsa_e, rsa_d; - Int_t l_n = 0, l_e = 0, l_d = 0; + Int_t l_n = 0, l_d = 0; char buf_n[rsa_STRLEN], buf_e[rsa_STRLEN], buf_d[rsa_STRLEN]; -#if R__RSADEB +#if R__RSADE + Int_t l_e; char buf[rsa_STRLEN]; #endif @@ -3499,7 +3500,9 @@ Int_t TAuthenticate::GenRSAKeys() TRSA_fun::RSA_num_sput()(&rsa_n, buf_n, rsa_STRLEN); l_n = strlen(buf_n); TRSA_fun::RSA_num_sput()(&rsa_e, buf_e, rsa_STRLEN); +#if R__RSADEB l_e = strlen(buf_e); +#endif TRSA_fun::RSA_num_sput()(&rsa_d, buf_d, rsa_STRLEN); l_d = strlen(buf_d); diff --git a/net/rpdutils/src/rpdutils.cxx b/net/rpdutils/src/rpdutils.cxx index 96b82d372ad45644434dec7ea4f9cdfa971f5759..544ddce12b0ac7b976c9555f49282acc2d309c41 100644 --- a/net/rpdutils/src/rpdutils.cxx +++ b/net/rpdutils/src/rpdutils.cxx @@ -5371,8 +5371,9 @@ int RpdGenRSAKeys(int setrndinit) // works as expected bool notOK = 1; rsa_NUMBER p1, p2, rsa_n, rsa_e, rsa_d; - int l_n = 0, l_e = 0, l_d = 0; + int l_n = 0, l_d = 0; #if R__RSADEB + Int_t l_e = 0; char buf[rsa_STRLEN]; #endif char buf_n[rsa_STRLEN], buf_e[rsa_STRLEN], buf_d[rsa_STRLEN]; @@ -5424,7 +5425,9 @@ int RpdGenRSAKeys(int setrndinit) rsa_num_sput(&rsa_n, buf_n, rsa_STRLEN); l_n = strlen(buf_n); rsa_num_sput(&rsa_e, buf_e, rsa_STRLEN); +#if R__RSADEB l_e = strlen(buf_e); +#endif rsa_num_sput(&rsa_d, buf_d, rsa_STRLEN); l_d = strlen(buf_d); diff --git a/proof/proof/src/TDataSetManager.cxx b/proof/proof/src/TDataSetManager.cxx index a11229e60b85a27e64c9ed5cc8f4e53b8e53f768..61116f4f1efe96915d131778949f9fbfeee6370e 100644 --- a/proof/proof/src/TDataSetManager.cxx +++ b/proof/proof/src/TDataSetManager.cxx @@ -1425,10 +1425,10 @@ Int_t TDataSetManager::ScanDataSet(TFileCollection *dataset, TUrl *curl = fileInfo->GetCurrentUrl(); const char *furl = curl->GetUrl(); TString urlmod; - Bool_t mapped = kFALSE; + // Bool_t mapped = kFALSE; if (TDataSetManager::CheckDataSetSrvMaps(curl, urlmod) && !(urlmod.IsNull())) { furl = urlmod.Data(); - mapped = kTRUE; + // mapped = kTRUE; } TUrl url(furl); url.SetOptions(""); diff --git a/tree/treeplayer/src/TFormLeafInfo.cxx b/tree/treeplayer/src/TFormLeafInfo.cxx index 9b29d8d2d6b8a2578d8893468b2a5cd4fc7a4b3f..14b2ca545447b4efc60a92dadd5762e07199b51b 100644 --- a/tree/treeplayer/src/TFormLeafInfo.cxx +++ b/tree/treeplayer/src/TFormLeafInfo.cxx @@ -704,16 +704,17 @@ void* TFormLeafInfo::GetLocalValuePointer(char *thisobj, Int_t instance) case TStreamerInfo::kOffsetL + TStreamerInfo::kAny: { char *loc = thisobj+fOffset; - Int_t len, index, sub_instance; + Int_t len, index; + //Int_t sub_instance; if (fNext) len = fNext->GetArrayLength(); else len = 1; if (len) { index = instance / len; - sub_instance = instance % len; + // sub_instance = instance % len; } else { index = instance; - sub_instance = 0; + // sub_instance = 0; } loc += index*fElement->GetClassPointer()->Size(); diff --git a/tree/treeplayer/src/TTreeProxyGenerator.cxx b/tree/treeplayer/src/TTreeProxyGenerator.cxx index 718afeef51fe6dc3a119f5726daf01b048864190..29a6d09a50bba7537ef50e9210c4cc3a44560d98 100644 --- a/tree/treeplayer/src/TTreeProxyGenerator.cxx +++ b/tree/treeplayer/src/TTreeProxyGenerator.cxx @@ -1033,8 +1033,8 @@ static TVirtualStreamerInfo *GetBaseClass(TStreamerElement *element) Int_t pos = leafTypeName.Last('_'); if (pos!=-1) leafTypeName.Remove(pos); - Int_t len = leaf->GetLen(); - TLeaf *leafcount = leaf->GetLeafCount(); + // Int_t len = leaf->GetLen(); + // TLeaf *leafcount = leaf->GetLeafCount(); UInt_t dim = 0; std::vector<Int_t> maxDim; @@ -1080,9 +1080,9 @@ static TVirtualStreamerInfo *GetBaseClass(TStreamerElement *element) } //char *twodim = (char*)strstr(leaf->GetTitle(),"]["); - if (leafcount) { - len = leafcount->GetMaximum(); - } + //if (leafcount) { + // len = leafcount->GetMaximum(); + //} TString type; @@ -1394,7 +1394,7 @@ static TVirtualStreamerInfo *GetBaseClass(TStreamerElement *element) } - Bool_t ispointer = false; + // Bool_t ispointer = false; switch(element->GetType()) { case TVirtualStreamerInfo::kBool: { type = "T" + middle + "BoolProxy"; break; } @@ -1465,7 +1465,7 @@ static TVirtualStreamerInfo *GetBaseClass(TStreamerElement *element) case TVirtualStreamerInfo::kSTL + TVirtualStreamerInfo::kObjectp: case TVirtualStreamerInfo::kSTL + TVirtualStreamerInfo::kObjectP: // set as pointers and fall through to the next switches - ispointer = true; + // ispointer = true; case TVirtualStreamerInfo::kOffsetL + TVirtualStreamerInfo::kObject: case TVirtualStreamerInfo::kObject: case TVirtualStreamerInfo::kTString: