]> xenbits.xensource.com Git - xen.git/commit
libxl/dm_depriv: Fix non-debug build
authorGeorge Dunlap <george.dunlap@citrix.com>
Sat, 22 Dec 2018 08:59:48 +0000 (08:59 +0000)
committerGeorge Dunlap <george.dunlap@citrix.com>
Sat, 22 Dec 2018 08:59:48 +0000 (08:59 +0000)
commit82c62c87347dd9b3acbc1ac94dc43663f52ac0aa
treebb71417727e3e1c3d547dbefdd22a412d0fbff53
parent9d357cbaf74f0c1dc85a16498dac6d819743ce38
libxl/dm_depriv: Fix non-debug build

Apparently older versions of gcc, when building with debug=n, the
uninitialized variable logic gets confused.  Distros on which a
non-debug build will fail include:
- Centos 7
- Debian Jessie
- Ubuntu Trusty

It seems to be one particular path confusing the logic; so just set it
on that path to keep the compiler happy, while still catching other
potential paths where it might be unset.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
tools/libxl/libxl_dm.c