summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2012-06-29 16:25:28 -0400
committerTad Marshall <tad@10gen.com>2012-06-29 16:25:28 -0400
commit7f47f022739847e211dc8e054098ed8ee7c753c8 (patch)
treed70d4bf3e0905ec1ff4a62d54c0acc5997b190b3 /src
parent181ff5d768e45bb4b84622444da9fa3e0181aaa8 (diff)
downloadmongo-7f47f022739847e211dc8e054098ed8ee7c753c8.tar.gz
fix unreferenced local variable warning
Diffstat (limited to 'src')
-rw-r--r--src/mongo/dbtests/jsobjtests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/jsobjtests.cpp b/src/mongo/dbtests/jsobjtests.cpp
index 5b0f319e227..624ad2fe005 100644
--- a/src/mongo/dbtests/jsobjtests.cpp
+++ b/src/mongo/dbtests/jsobjtests.cpp
@@ -120,7 +120,7 @@ namespace JsobjTests {
// (re)alloc past the buffer 64mb limit
b.appendStr("a");
}
- catch (const AssertionException &e) { }
+ catch (const AssertionException&) { }
// assert half of max buffer size was allocated before exception is thrown
ASSERT(written == mongo::BufferMaxSize / 2);
}