Details
Details
Diff Detail
Diff Detail
- Repository
- rCRT Compiler Runtime
- Build Status
Buildable 20308 Build 20308: arc lint + arc unit
Event Timeline
| lib/cfi/cfi.cc | ||
|---|---|---|
| 138 | memset takes an int and converts it to unsigned char, so this masking should be unnecessary. | |
Comment Actions
Thank you,
Filipe
| lib/cfi/cfi.cc | ||
|---|---|---|
| 138 | True, I ended up adding this because one of our static analyzers complained about a suspicious integer being passed to memset. I can fix it locally only if it's preferred, though. | |
| lib/cfi/cfi.cc | ||
|---|---|---|
| 138 | On the second thought, this is good for readability. LGTM | |
memset takes an int and converts it to unsigned char, so this masking should be unnecessary.