| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
The template can be specialized on primitives, e.g. double, where
converting NULL will trigger a warning.
|
|
|
|
|
|
|
|
|
|
| |
Fixes google/protobuf#693
msan flags this as being undefined behavior. I think it's triggering
because the compiler has to insert a branch to avoid changing the
pointer's value if it starts out NULL. I can't figure out if this is
actually undefined behavior or not, but it definitely seems to be a gray
area of the standard which is best avoided.
|
| |
|
|
[ci skip]
Change-Id: I9391c09640e0b0b2b21c45a97a1fc91814d95c5d
|