Commit 7d3cf73a authored by Jan Möbius's avatar Jan Möbius

cppcheck

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17353 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f05f04ea
......@@ -629,7 +629,6 @@ CSimpleOptTempl<SOCHAR>::Next()
m_nLastError = SO_SUCCESS;
// find the next option
SOCHAR cFirst;
int nTableIdx = -1;
int nOptIdx = m_nOptionIdx;
while (nTableIdx < 0 && nOptIdx < m_nLastArg) {
......@@ -638,7 +637,7 @@ CSimpleOptTempl<SOCHAR>::Next()
m_pszOptionArg = NULL;
// find this option in the options table
cFirst = PrepareArg(m_pszOptionText);
SOCHAR cFirst = PrepareArg(m_pszOptionText);
if (m_pszOptionText[0] == (SOCHAR)'-') {
// find any combined argument string and remove equals sign
m_pszOptionArg = FindEquals(m_pszOptionText);
......
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