Details
-
Bug
-
Resolution: Done
-
Trivial - P5
-
None
-
Fully Compatible
-
ALL
Description
The definition of DBException::toString() at line 57 in src/mongo/util/assert_util.cpp contains a redundant return statement:
string DBException::toString() const {
|
stringstream ss; ss << getCode() << " " << what(); return ss.str();
|
return ss.str();
|
}
|
This would have been more obvious if the routine didn't have three statements on one line.