projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9602d1e
)
flashrom: gcc thinks base could be used uninitialized, so shut it up.
author
Peter Stuge
<peter@stuge.se>
Wed, 3 Dec 2008 23:36:48 +0000
(23:36 +0000)
committer
Peter Stuge
<peter@stuge.se>
Wed, 3 Dec 2008 23:36:48 +0000
(23:36 +0000)
Bug from r3791.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3792
2b7e53f0
-3cfb-0310-b3e9-
8179ed1497e1
util/flashrom/flashrom.c
patch
|
blob
|
history
diff --git
a/util/flashrom/flashrom.c
b/util/flashrom/flashrom.c
index b1586fa30f7489b1878df026cf18eaa974448485..a75e45292704d0d2f71d49d7cef0dfcf52caee29 100644
(file)
--- a/
util/flashrom/flashrom.c
+++ b/
util/flashrom/flashrom.c
@@
-105,7
+105,7
@@
struct flashchip *probe_flash(struct flashchip *first_flash, int force)
{
volatile uint8_t *bios;
struct flashchip *flash;
- unsigned long base, size;
+ unsigned long base
= 0
, size;
for (flash = first_flash; flash && flash->name; flash++) {
if (chip_to_probe && strcmp(flash->name, chip_to_probe) != 0)