[coreboot-gerrit] Patch merged into coreboot/master: 11b4780 cpu/x86/mtrr/mtrr.c: Remove superfluous assignment to `type_index`
gerrit at coreboot.org
gerrit at coreboot.org
Thu Oct 3 15:17:06 CEST 2013
the following patch was just integrated into master:
commit 11b47801b2c3abc3bb8c523b722fafa1103bff45
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Wed Oct 2 21:59:38 2013 +0200
cpu/x86/mtrr/mtrr.c: Remove superfluous assignment to `type_index`
When building coreboot with the Clang static analyzer scan-build,
it reports »Value stored to 'type_index' is never read«. Indeed,
in `memranges_each_entry()` `type_index` is assigned a value
before being read. So remove that line.
Change-Id: I6da2fb8be7157bb98c57281babd4a08ca0d9f7a7
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/3953
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin at google.com>
See http://review.coreboot.org/3953 for details.
-gerrit
More information about the coreboot-gerrit
mailing list