Skip to content

Commit

Permalink
[XrdSecgsi] Comment out unused function (getOptVal).
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jun 10, 2020
1 parent c138322 commit 6caf461
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/XrdSecgsi/XrdSecgsiOpts.hh
Expand Up @@ -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

0 comments on commit 6caf461

Please sign in to comment.