From 9b69952eaa308a782500a63a254e9f7cef03e6af Mon Sep 17 00:00:00 2001 From: Hemanth Narra Date: Sun, 18 Mar 2012 12:09:03 +0100 Subject: [PATCH] bug 1369 - [LLVM] error: comparison of unsigned expression < 0 is always false --- src/dsdv/model/dsdv-routing-protocol.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsdv/model/dsdv-routing-protocol.cc b/src/dsdv/model/dsdv-routing-protocol.cc index 94e722e8f..06f1759c6 100644 --- a/src/dsdv/model/dsdv-routing-protocol.cc +++ b/src/dsdv/model/dsdv-routing-protocol.cc @@ -840,7 +840,7 @@ RoutingProtocol::SendPeriodicUpdate () m_routingTable.Purge (removedAddresses); MergeTriggerPeriodicUpdates (); m_routingTable.GetListOfAllRoutes (allRoutes); - if (allRoutes.size () < 0) + if (allRoutes.empty ()) { return; }