Bug 1199068 - Soothe a unused variable warning in TestSplayTree.cpp. r=nfroyd

This commit is contained in:
Kan-Ru Chen 2015-08-28 11:24:47 +08:00
parent e9834f967c
commit fa67ad73a6

View File

@ -7,6 +7,7 @@
#include "mozilla/ArrayUtils.h"
#include "mozilla/Assertions.h"
#include "mozilla/SplayTree.h"
#include "mozilla/unused.h"
using mozilla::SplayTree;
using mozilla::SplayTreeNode;
@ -118,6 +119,8 @@ static SplayTree<SplayNoCopy, SplayNoCopy> testNoCopy;
int
main()
{
mozilla::unused << testNoCopy;
SplayTree<SplayInt, SplayInt> tree;
MOZ_RELEASE_ASSERT(tree.empty());