diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-04-23 18:46:32 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-04-23 18:46:32 +0000 |
commit | 06db2c44825d5a69bf1139c1348ca95296ccf453 (patch) | |
tree | f3e934360a7b47d5631b1c8e743a488196acff38 /util/flashrom/w39v040c.c | |
parent | 436b9de0a31095e4da0dbcba8e4004a480ed215b (diff) |
Fix an uninitialized variable. If it didn't end up being zero it sometimes
caused a seg fault, sometimes executed somewhere else. Also add an error if
the algorithm is unknown.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Ward Vandewege <ward@gnu.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4198 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/w39v040c.c')
0 files changed, 0 insertions, 0 deletions