Closed mmitch closed 2 years ago
Merging #69 (7c7212b) into master (533fddf) will not change coverage. The diff coverage is
67.14%
.
Impacted Files | Coverage Δ | |
---|---|---|
gbs.c | 29.92% <52.94%> (ø) |
|
gbcpu.c | 64.96% <69.31%> (ø) |
|
gbhw.c | 72.14% <80.00%> (ø) |
|
cfgparser.c | 80.17% <83.33%> (ø) |
|
common.h | 66.66% <100.00%> (ø) |
|
plugout.c | 33.33% <100.00%> (ø) |
I've sprinkled lots of
const
over the place. Is this useful?I've looked a pointers and there are two types of changes:
struct bar *foo
toconst struct bar *foo
. This should be OK in all cases.struct bar *foo
intostruct bar* const foo
. This seems to be possible nearly everywhere, but is it useful in any way?I feel unsure if I should just remove part 2 (this would be fast, just search & replace). Any thoughts?