Skip to content

Commit 4af7d5b

Browse files
committed
Remove unused var warning on non-debug compilation.
[SVN r20463]
1 parent d879eb2 commit 4af7d5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/object/inheritance.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ namespace
215215

216216
vertex_t v = add_vertex(full_graph().topology());
217217
vertex_t v2 = add_vertex(up_graph().topology());
218+
(void)v2; // prevent unused var warning on non-debug compile
218219
assert(v == v2);
219220
return type_index().insert(p, boost::make_tuple(type, v, dynamic_id_function(0)));
220221
}

0 commit comments

Comments
 (0)