I'm trying to understand an issue reported by Clang's static analysis
tool. The code below demonstrates the issue:
$ cat problem.c
#include
int main() {
#if VARIANT==1
uint32_t data = 0xdeadbeef;
uint8_t* byte = (uint8_t*)&data;
uint8_t value = byte[0];
#elif VARIANT==2
uint32_t dat
On Sat, Jun 25, 2016 at 6:25 PM, Jeffrey Walton wrote:
> On Sat, Jun 25, 2016 at 2:01 PM, Andrew Fuller via cfe-users
> wrote:
> > I'm trying to understand an issue reported by Clang's static analysis
> tool.
> > The code below demonstrates the issue:
>