diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-11-08 01:10:56 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-11-16 12:23:25 +0100 |
commit | 478dc5f4ab8d0a639d1bafe3bd53ff3309727836 (patch) | |
tree | 7515de010d9e92dd98fd9b994181a3ac5b5b9f99 /README | |
parent | bb8c40e9ef7cb39edd144067d65378c49b837205 (diff) | |
download | libmnl-478dc5f4ab8d0a639d1bafe3bd53ff3309727836.tar.gz libmnl-478dc5f4ab8d0a639d1bafe3bd53ff3309727836.zip |
attr: avoid multiple definition of hidden variable
When nesting two mnl_attr_for_each loops, the __len__ variable will be
declared twice, eliciting a warning when -Wshadow is turned on. There
can also be warnings in pre-C99 because declarations and code are
mixed. Do without any temporaries that are not explicitly specified as
macro parameters.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions