Thomas-Mielke-Software / EasyCash

Eine Mini-Finanzbuchhaltung für Windows, Wine und ahnliche win32-basierten Systeme
GNU General Public License v3.0
12 stars 4 forks source link

unused variable #9

Closed maddin200 closed 3 years ago

maddin200 commented 3 years ago

/ECTIFace/XMLite.cpp line 272:

LPTSTR _tcsenistr( LPCTSTR psz, LPCTSTR str, int len, int escape ) { LPTSTR pch = (LPTSTR)psz; LPTSTR prev_escape = NULL; LPTSTR des = (LPTSTR)str; // <- not used int i = 0;

while( pch && *pch )
{
    if( escape != 0 && *pch == escape && prev_escape == NULL )
        prev_escape = pch;
    else
    {
        prev_escape = NULL;
        if( _tcsenicmp( pch, str, len, escape ) == 0 )
            return (LPTSTR)pch;
    }
    pch++;
}
return pch;

}

thomiel commented 3 years ago

ok...

https://github.com/Thomas-Mielke-Software/EasyCash/commit/23097d7c435b987702a4bf0415690f41bc03d80d

Ich nehme an, Du hast die xmlite-Datei für ein eigenes Projekt recycelt?

maddin200 commented 3 years ago

nur files gescannt