Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
None
-
Fully Compatible
-
ALL
-
v3.2
-
Integration 10 (02/22/16)
Description
The zero code checker doesn't catch this code. The code can also be a duplicate of another code, it still doesn't catch it.
Example file:
#include "mongo/util/assert_util.h"
|
|
namespace mongo {
|
|
void test() {
|
bool x = true;
|
if (x) {
|
uassert(
|
0,
|
"String that is exactly the right amount of characters to produce this indentation.",
|
x);
|
}
|
}
|
}
|
Attachments
Issue Links
- related to
-
SERVER-18979 Duplicate uassert & fassert codes
-
- Closed
-