const wxChar *pc;
size_t nLineCount = textfile.GetLineCount();
- for ( size_t nLine = 0;; nLine++ )
+ for ( size_t nLine = 0; /* nothing */; nLine++ )
{
if ( nLine < nLineCount )
{
{
wxArrayString dirs;
- wxString gnomedir = wxGetenv( wxT("GNOMEDIR") );;
+ wxString gnomedir = wxGetenv( wxT("GNOMEDIR") );
if (!gnomedir.empty())
{
gnomedir << wxT("/share");
wxString strExtensions = m_manager->GetExtension(m_index[0]);
extensions.Empty();
- // one extension in the space or comma delimitid list
+ // one extension in the space or comma-delimited list
wxString strExt;
- for ( const wxChar *p = strExtensions;; p++ ) {
+ for ( const wxChar *p = strExtensions; /* nothing */; p++ ) {
if ( *p == wxT(' ') || *p == wxT(',') || *p == wxT('\0') ) {
if ( !strExt.empty() ) {
extensions.Add(strExt);