Changeset 440 for trunk/src


Ignore:
Timestamp:
Dec 25, 2009, 12:25:01 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: FIxed more pedantic warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qprocess_os2.cpp

    r423 r440  
    190190        APIRET rc = DosPostEventSem(instance->eventSem);
    191191        Q_ASSERT(rc == NO_ERROR || rc == ERROR_ALREADY_POSTED);
     192
    192193    }
    193194
     
    342343                                  FALSE);
    343344    Q_ASSERT(rc == NO_ERROR);
     345
    344346
    345347    lastProcKey = InvalidProcKey;
     
    502504            case QProcessPrivate::Async:
    503505            case QProcessPrivate::SigChild:
    504                 const char *method;
     506                const char *method;
    505507                switch(type) {
    506508                case QProcessPrivate::InPipe:
     
    556558        APIRET rc = DosCreateEventSem(0, &waitSem, DCE_AUTORESET, FALSE);
    557559        Q_ASSERT(rc == NO_ERROR);
     560
    558561    }
    559562}
     
    562565                                 const char *name /*= 0*/)
    563566{
    564     APIRET rc;
     567    APIRET rc;
    565568    char pathBuf[CCHMAXPATH];
    566569
     
    655658    if (channel.type == Channel::Normal) {
    656659        // we're piping this channel to our own process
    657         PipeType type;
     660        PipeType type;
    658661        if (&channel == &stdinChannel)
    659662            type = InPipe;
Note: See TracChangeset for help on using the changeset viewer.