diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2010-08-31 09:30:37 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-09-04 09:45:54 +0000 |
commit | 5d30138a3a2c44ea80964f4a5b2e406b032f41f0 (patch) | |
tree | d6e56300495ebe0ce952f38c2cdb3eaf07d3d4f7 | |
parent | 01d0c69458a527ac4a8249fac8a1316a6e90c493 (diff) | |
download | slirp-5d30138a3a2c44ea80964f4a5b2e406b032f41f0.zip slirp-5d30138a3a2c44ea80964f4a5b2e406b032f41f0.tar.gz slirp-5d30138a3a2c44ea80964f4a5b2e406b032f41f0.tar.bz2 |
Change DPRINTF() to do{}while(0) to avoid compiler warning
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | bootp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -38,7 +38,9 @@ static const uint8_t rfc1533_cookie[] = { RFC1533_COOKIE }; } \ while (0) #else -#define DPRINTF(fmt, ...) +#define DPRINTF(fmt, ...) \ + do { \ + } while (0) #endif static BOOTPClient *get_new_addr(Slirp *slirp, struct in_addr *paddr, |