From 4af7d5bca72aa92dcb1470ee643203c06691fd58 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 23 Oct 2003 20:15:50 +0000 Subject: [PATCH] Remove unused var warning on non-debug compilation. [SVN r20463] --- src/object/inheritance.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/object/inheritance.cpp b/src/object/inheritance.cpp index 13dfaef0..b7258f8e 100644 --- a/src/object/inheritance.cpp +++ b/src/object/inheritance.cpp @@ -215,6 +215,7 @@ namespace vertex_t v = add_vertex(full_graph().topology()); vertex_t v2 = add_vertex(up_graph().topology()); + (void)v2; // prevent unused var warning on non-debug compile assert(v == v2); return type_index().insert(p, boost::make_tuple(type, v, dynamic_id_function(0))); }