]> git.proxmox.com Git - mirror_lxc.git/commit
compiler: -Wshadow hardening
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 5 Feb 2019 19:56:08 +0000 (20:56 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 5 Feb 2019 21:36:31 +0000 (22:36 +0100)
commita7547c5c34f5a5f4d754acee7e224602dfbda966
tree792efa5da8f8a5f084523529fe9ff3a5225adcf8
parent55733496733d30f53bd5b37c8e27ab1028111518
compiler: -Wshadow hardening

Warn whenever a local variable or type declaration shadows another
variable, parameter, type, class member (in C++), or instance variable
(in Objective-C) or whenever a built-in function is shadowed.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
15 files changed:
src/lxc/attach.c
src/lxc/cmd/lxc_user_nic.c
src/lxc/conf.c
src/lxc/criu.c
src/lxc/log.h
src/lxc/lxccontainer.c
src/lxc/network.c
src/lxc/storage/overlay.c
src/lxc/storage/storage.c
src/lxc/storage/zfs.c
src/lxc/tools/lxc_info.c
src/lxc/tools/lxc_ls.c
src/lxc/tools/lxc_unshare.c
src/tests/share_ns.c
src/tests/state_server.c