coreboot/src/device/dram
Jacob Garber 93064ff7cd device/dram: Inline value into print statement
By default printram() expands to nothing in normal builds, and so
scan-build thinks that the assignment to reg8 is unused. Inline the
value of reg8 into the print statement to silence the warning.

Change-Id: I921fe08949c4135367bee9646b3b365097fab19e
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: scan-build 8.0.0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33744
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2019-06-28 19:24:55 +00:00
..
ddr2.c src/{device,drivers}: Add missing 'include <types.h>' 2019-05-29 20:27:52 +00:00
ddr3.c device/dram: Inline value into print statement 2019-06-28 19:24:55 +00:00
Makefile.inc device/dram/ddr2: Add common ddr2 spd decoder 2017-03-10 11:17:27 +01:00