BTW, I'm also seeing a deadstore warning:
Value stored to 'memfd' is never read C/C++ clang-analyzer-deadcode.DeadStores
bcm2835.c(2069, 5): Value stored to 'memfd' is never read
```
memfd = -1;
```
I think this is technically correct as the stored value `-1` is never used because the `memfd` variable is set on subsequent if conditions:
```
if ((memfd = open(...)) < 0)
```
Its a bit hard to tell because the indentation in `bcm2835_init()` doesn't seem continuous/uniformed.