diff options
author | Tad Marshall <tad@10gen.com> | 2012-03-07 16:11:21 -0500 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2012-03-07 16:11:21 -0500 |
commit | 358c71ad01d223668180af99666e75a327e20fac (patch) | |
tree | b67fff236909807fa403621f8e4c2d7309ff15a9 | |
parent | 0578ab5c5f732f28a0622b73df9751defc1e60d7 (diff) | |
download | mongo-358c71ad01d223668180af99666e75a327e20fac.tar.gz |
Fix Windows warning
Fix warning in Windows-only code: not all code paths
return a value.
-rw-r--r-- | src/mongo/util/text.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/util/text.cpp b/src/mongo/util/text.cpp index 903a83c9c75..69ea16158ce 100644 --- a/src/mongo/util/text.cpp +++ b/src/mongo/util/text.cpp @@ -94,6 +94,7 @@ namespace mongo { msgasserted( 16091 , mongoutils::str::stream() << "can't wstring to utf8: " << ::GetLastError() ); + return ""; } #if defined(_UNICODE) |