avoid optimized build warning.
--- a/src/internet-node/pcap-trace.cc Mon Mar 03 20:47:12 2008 +0100
+++ b/src/internet-node/pcap-trace.cc Mon Mar 03 21:00:27 2008 +0100
@@ -86,7 +86,8 @@
uint32_t
PcapTrace::GetNodeIndex (std::string context) const
{
- std::string::size_type pos = context.find ("/NodeList/");
+ std::string::size_type pos;
+ pos = context.find ("/NodeList/");
NS_ASSERT (pos == 0);
std::string::size_type afterNodeIndex = context.find ("/", 11);
NS_ASSERT (afterNodeIndex != std::string::npos);