diff options
author | Sverker Eriksson <[email protected]> | 2013-12-13 16:10:03 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-12-13 16:10:03 +0100 |
commit | 02f75aa7d187f1e2462f7b8793446b1f9be7c612 (patch) | |
tree | 377dfc4f0f43076da215d8a119580c7e805c0809 /erts | |
parent | af17798534de376505498b86525ab8618753ebf7 (diff) | |
download | otp-02f75aa7d187f1e2462f7b8793446b1f9be7c612.tar.gz otp-02f75aa7d187f1e2462f7b8793446b1f9be7c612.tar.bz2 otp-02f75aa7d187f1e2462f7b8793446b1f9be7c612.zip |
erts: Fix compiler warning
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/drivers/common/inet_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/drivers/common/inet_drv.c b/erts/emulator/drivers/common/inet_drv.c index 978a766de9..80937dfcc8 100644 --- a/erts/emulator/drivers/common/inet_drv.c +++ b/erts/emulator/drivers/common/inet_drv.c @@ -1490,8 +1490,8 @@ static int load_ip_and_port unsigned int alen = len; char abuf [len]; int res = inet_get_address(abuf, (inet_address*) addr, &alen); - ASSERT(res==0); - res = 0; + ASSERT(res==0); (void)res; + /* Now "abuf" contains: Family(1b), Port(2b), IP(4|16b) */ /* NB: the following functions are safe to use, as they create tuples |