summaryrefslogtreecommitdiffstats
path: root/src/socket.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-11-08 01:10:56 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-11-16 12:23:25 +0100
commit478dc5f4ab8d0a639d1bafe3bd53ff3309727836 (patch)
tree7515de010d9e92dd98fd9b994181a3ac5b5b9f99 /src/socket.c
parentbb8c40e9ef7cb39edd144067d65378c49b837205 (diff)
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 'src/socket.c')
0 files changed, 0 insertions, 0 deletions