VirtualBox

Changeset 61992 in vbox


Ignore:
Timestamp:
Jul 3, 2016 3:06:28 PM (8 years ago)
Author:
vboxsync
Message:

crOpenGL: Drop duplicate NULL checks.

Location:
trunk/src/VBox/GuestHost/OpenGL/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/tcpip.c

    r53726 r61992  
    641641        const int sendable_len = conn->swap ? SWAP32(len) : len;
    642642        crTCPIPWriteExact( conn, &sendable_len, sizeof(len) );
    643         if (!conn || conn->type == CR_NO_CONNECTION)
     643        if (conn->type == CR_NO_CONNECTION)
    644644            return;
    645645        crTCPIPWriteExact( conn, start, len );
  • trunk/src/VBox/GuestHost/OpenGL/util/udptcpip.c

    r53726 r61992  
    266266                 * return. */
    267267                crTCPIPWriteExact( conn, &len_swap, sizeof(len_swap) );
    268                 if ( !conn || conn->type == CR_NO_CONNECTION ) return;
     268                if ( conn->type == CR_NO_CONNECTION ) return;
    269269                crTCPIPWriteExact( conn, start, len );
    270270                return;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette