diff options
author | Tad Marshall <tad@10gen.com> | 2012-06-29 16:25:28 -0400 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2012-06-29 16:25:28 -0400 |
commit | 7f47f022739847e211dc8e054098ed8ee7c753c8 (patch) | |
tree | d70d4bf3e0905ec1ff4a62d54c0acc5997b190b3 /src | |
parent | 181ff5d768e45bb4b84622444da9fa3e0181aaa8 (diff) | |
download | mongo-7f47f022739847e211dc8e054098ed8ee7c753c8.tar.gz |
fix unreferenced local variable warning
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/dbtests/jsobjtests.cpp | 2 |
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); } |