VirtualBox

Changeset 40119 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 14, 2012 6:56:01 AM (13 years ago)
Author:
vboxsync
Message:

NAT: unused variable c (moved under LIBALIAS_DEBUG ambrella).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/libalias/alias_nbt.c

    r39101 r40119  
    342342
    343343    u_char *s;
     344#ifdef LIBALIAS_DEBUG
    344345    u_char c;
     346#endif
    345347    int compress;
    346348
     
    374376        while (s < p) {
    375377            if (compress == 1) {
     378#ifdef LIBALIAS_DEBUG
    376379                c = (u_char) (((((*s & 0x0f) << 4) | (*(s + 1) & 0x0f)) - 0x11));
    377 #ifdef LIBALIAS_DEBUG
    378380                if (isprint(c))
    379381                    printf("%c", c);
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