From 6caf461ee593265256ef35fe51cbd6ec8dd4a1b2 Mon Sep 17 00:00:00 2001 From: Michal Simon Date: Wed, 10 Jun 2020 09:55:48 +0200 Subject: [PATCH] [XrdSecgsi] Comment out unused function (getOptVal). --- src/XrdSecgsi/XrdSecgsiOpts.hh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/XrdSecgsi/XrdSecgsiOpts.hh b/src/XrdSecgsi/XrdSecgsiOpts.hh index c8f1982548b..fd3ca690e57 100644 --- a/src/XrdSecgsi/XrdSecgsiOpts.hh +++ b/src/XrdSecgsi/XrdSecgsiOpts.hh @@ -213,24 +213,24 @@ int getOptVal(OptsTab &oTab, const char *oVal) /******************************************************************************/ -int getOptVal(OptsTab &oTab1, OptsTab &oTab2, char *oVal) -{ -// Check if this is a two-factor option -// - char *comma = index(oVal, ','); - if (comma) *comma = 0; - -// Handle the first part +//int getOptVal(OptsTab &oTab1, OptsTab &oTab2, char *oVal) +//{ +//// Check if this is a two-factor option +//// +// char *comma = index(oVal, ','); +// if (comma) *comma = 0; // - int flag = getOptVal(oTab1, oVal); - -// Get the second part +//// Handle the first part +//// +// int flag = getOptVal(oTab1, oVal); // - if (comma) - {flag += getOptVal(oTab2, comma+1); - *comma = ','; - } - return flag; -} +//// Get the second part +//// +// if (comma) +// {flag += getOptVal(oTab2, comma+1); +// *comma = ','; +// } +// return flag; +//} } #endif