summaryrefslogtreecommitdiff
path: root/util/cbfstool/console
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2018-11-21 13:07:50 +0100
committerWerner Zeh <werner.zeh@siemens.com>2018-11-23 05:08:30 +0000
commitbbf1df76a6eddbb91a425be9afda1cbf8a903a8d (patch)
treeaebd29fe2fe042939fc5e9edd7e4f7f08e41b3ec /util/cbfstool/console
parentdeed1e3c630ba0a87691e5d0539e51a1b42534b5 (diff)
util/cbfstool: Fix GCC error due to a shadowed declaration
There is already a function with the name buffer_size(). Adding a local variable with the same name will lead to the following error on older GCC versions (e.g. version 4.4.7): declaration of 'buffer_size' shadows a global declaration To fix this rename the local variable to buffer_len. Change-Id: Ifae3a17152f2f9852d29a4ac038f7e5a75a41614 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/c/29776 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Joel Kitching <kitching@google.com> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'util/cbfstool/console')
0 files changed, 0 insertions, 0 deletions