Bug 1151 - variable ?ifInAddrSrc? set but not used, g++4.6.0
authorJohn Abraham<john.abraham@gatech.edu>
Sat, 14 May 2011 03:38:29 -0400
changeset 7215 a70267cd4047
parent 7214 b2d40d40998c
child 7216 31d6aadf369c
Bug 1151 - variable ?ifInAddrSrc? set but not used, g++4.6.0
examples/socket/socket-bound-static-routing.cc
--- a/examples/socket/socket-bound-static-routing.cc	Sat May 14 03:35:48 2011 -0400
+++ b/examples/socket/socket-bound-static-routing.cc	Sat May 14 03:38:29 2011 -0400
@@ -131,8 +131,6 @@
   staticRoutingDstRtr->AddHostRouteTo (Ipv4Address ("10.1.1.1"), Ipv4Address ("10.10.2.1"), 2);
   staticRoutingRtr2->AddHostRouteTo (Ipv4Address ("10.1.1.1"), Ipv4Address ("10.1.2.1"), 1);
 
-  Ipv4InterfaceAddress ifInAddrSrc=ipv4Src->GetAddress (1,0);
-
   // There are no apps that can utilize the Socket Option so doing the work directly..
   // Taken from tcp-large-transfer example