Commit 30698924 authored by Joseph Pallamidessi's avatar Joseph Pallamidessi

Suppress comma and parentheses related warning

parent 585cf177
......@@ -794,7 +794,7 @@ void CSymbol::printAllSymbols(FILE *fp, char *sCompleteName, EObjectType FatherT
strcat(sNewCompleteName,"->");
else strcat(sNewCompleteName,".");
strcat(sNewCompleteName,pSym->Object->sName);
if (sNewCompleteName,pSym->Object->ObjectType==oArray) {
if (pSym->Object->ObjectType==oArray) {
strcat(sNewCompleteName,"[");
sprintf(s,"%d",pSym->Object->nSize/pSym->Object->pType->nSize);
strcat(sNewCompleteName,s);
......
......@@ -171,8 +171,8 @@ namespace boost { namespace program_options {
check_first_occurrence(v);
string s(get_single_string(xs));
if (!s.empty() && (
(*s.begin() == '\'' && *s.rbegin() == '\'' ||
*s.begin() == '"' && *s.rbegin() == '"')))
((*s.begin() == '\'' && *s.rbegin() == '\'') ||
(*s.begin() == '"' && *s.rbegin() == '"'))))
{
v = any(s.substr(1, s.size()-2));
}
......@@ -186,8 +186,8 @@ namespace boost { namespace program_options {
{
check_first_occurrence(v);
wstring s(get_single_string(xs));
if (*s.begin() == L'\'' && *s.rbegin() == L'\'' ||
*s.begin() == L'"' && *s.rbegin() == L'"')
if ((*s.begin() == L'\'' && *s.rbegin() == L'\'') ||
(*s.begin() == L'"' && *s.rbegin() == L'"'))
v = any(s.substr(1, s.size()-2));
else
v = any(s);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment