• Ulrich Sibiller's avatar
    nxcomp: fix shadow warning · d5c3e75b
    Ulrich Sibiller authored
    Fixes this:
    
    CXX      Loop.lo
    Loop.cpp: In function 'void handleCheckResultInLoop(int&, int&, int&, fd_set&, fd_set&, timeval&, timeval&)':
    Loop.cpp:14080:68: warning: declaration of 'startTs' shadows a global declaration [-Wshadow]
                                                 struct timeval &startTs)
                                                                        ^
    Loop.cpp:1020:13: note: shadowed declaration is here
    T_timestamp startTs;
    
    Fixes ArcticaProject/nx-libs#545
    d5c3e75b
Loop.cpp 346 KB