Description
As I built release/lithium on my windows box, I received a warning message complaining dereferencing of empty optional. Following the call stack, the violator is in Value+Dump.cc, l170,
offset = *valueToOffset(dstPtr);
Compared with MacOS/Clang, the empty optional yields 0.
Attachments
Issue Links
- Clones
-
CBL-2591 "Undefined Behavior" warned by MSVC
- Closed