src/virt.c: Fix one -Wshadow type warning
authorAntoine Naud <antoinex.naud@intel.com>
Fri, 25 May 2018 14:42:51 +0000 (15:42 +0100)
committerAntoine Naud <antoinex.naud@intel.com>
Wed, 6 Jun 2018 10:32:49 +0000 (11:32 +0100)
commit4c68d7ec6e49f3ff1138a75676b6806644861d72
tree4f22ebb85580a2e03e7cb18b57b83c77e61a4adb
parentc48faeb6823887e4d31fdcf1940c17dfc29ea70c
src/virt.c: Fix one -Wshadow type warning

This commit fixes:
src/virt.c:1827:76: warning: declaration shadows a variable in the global scope
[-Wshadow]
static int domain_lifecycle_event_cb(__attribute__((unused)) virConnectPtr conn,
                                                                           ^
src/virt.c:471:22: note: previous declaration is here
static virConnectPtr conn;

Change-Id: I5303f834c5f13802909f8bd03afba0f4a23934d4
Signed-off-by: Antoine Naud <antoinex.naud@intel.com>
src/virt.c