third_party_libnl/lib
Tobias Klauser 7e88d00c09 cache: fix GCC warning and avoid variable shadowing
Fix the following GCC warning, introduced in commit 66d032ad44
("cache_mngr: add include callback v2"):

cache.c: In function ‘cache_include.isra.3’:
cache.c:810:6: warning: ‘diff’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      cb_v2(cache, clone, obj, diff,
            ^

Also don't redeclare the uint64_t diff variable, to avoid shadowing.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>

Fixes: 66d032ad44

http://lists.infradead.org/pipermail/libnl/2016-December/002258.html
2016-12-02 13:37:35 +01:00
..
cli trivial: whitespace-only fixes for src and lib 2016-08-12 23:06:27 +02:00
fib_lookup lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +02:00
genl lib: update ce-mask to uint64_t 2016-02-12 18:09:04 +01:00
idiag trivial: whitespace-only fixes for src and lib 2016-08-12 23:06:27 +02:00
netfilter remove multiple implementations of htonll(), ntohll() 2016-09-06 11:21:48 +02:00
route link: set ifi_change flags for rtnl_link_build_add_request() 2016-11-29 22:46:01 +01:00
xfrm cache_mngr: add include callback v2 2016-12-01 16:49:43 +01:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c nl-addr: avoid read-out-of-bound in nl_addr_fill_sockaddr() 2016-08-14 11:46:19 +02:00
attr.c lib: return error on Netlink attribute length overflow 2016-06-24 19:32:25 +02:00
cache_mngr.c cache_mngr: add include callback v2 2016-12-01 16:49:43 +01:00
cache_mngt.c cache: assert in nl_cache_mngt_register() for valid oo_keygen() function 2014-11-25 10:44:26 +01:00
cache.c cache: fix GCC warning and avoid variable shadowing 2016-12-02 13:37:35 +01:00
data.c lib: add const-ness to appropriate parameters in addr, attr, data 2015-02-16 11:20:18 +01:00
error.c lib: return error on Netlink attribute length overflow 2016-06-24 19:32:25 +02:00
handlers.c lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +02:00
hash.c Hash: Properly prefix hash functions 2012-11-10 10:22:26 +01:00
hashtable.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
Makefile.am Add PPP support 2016-11-28 22:14:15 +01:00
msg.c lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +02:00
nl.c lib: use MSG_PEEK by default for nl_recvmsgs() 2016-11-30 15:40:26 +01:00
object.c trivial: whitespace-only fixes for src and lib 2016-08-12 23:06:27 +02:00
socket.c lib: use MSG_PEEK by default for nl_recvmsgs() 2016-11-30 15:40:26 +01:00
utils.c lib: use MSG_PEEK by default for nl_recvmsgs() 2016-11-30 15:40:26 +01:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00