diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 16167d90f..d6d352418 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -37,6 +37,7 @@ Bugs fixed - Bug 1951 - AODV does not update nexthop for 1-hop nodes - Bug 1955 - The IPv4 identification field should be unique per (source, destination, protocol) tuple - Bug 1960 - Wrong information on index range, about Node::GetDevice +- Bug 1961 - planetlab-tap-creator "variable set but not used" Known issues ------------ diff --git a/src/fd-net-device/helper/planetlab-tap-creator.cc b/src/fd-net-device/helper/planetlab-tap-creator.cc index 536c9a3d3..ca5a64874 100644 --- a/src/fd-net-device/helper/planetlab-tap-creator.cc +++ b/src/fd-net-device/helper/planetlab-tap-creator.cc @@ -142,7 +142,6 @@ SetTunUp (const char *ip, const char *prefix, const char *if_name) FILE *in; FILE *out; char errbuff[4096]; - int nbytes; memset(errbuff, 0, 4096); @@ -166,7 +165,7 @@ SetTunUp (const char *ip, const char *prefix, const char *if_name) // close pipe to indicate end parameter passing and flush the fifo fclose (in); - nbytes = fread((void*)errbuff, 4096, 1, out); + fread((void*)errbuff, 4096, 1, out); // the error buffer will not be empty if we read an error ABORT_IF (strcmp(errbuff, "") != 0, errbuff, 0);