[lxc-devel] [lxc/lxc] fdb0b8: cgroups: fix build warning on GCC 7
Christian Brauner
noreply at github.com
Thu Apr 2 15:37:19 UTC 2020
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: fdb0b8ab2d83eace642153626a5dd5ef04d6f749
https://github.com/lxc/lxc/commit/fdb0b8ab2d83eace642153626a5dd5ef04d6f749
Author: Aleksa Sarai <cyphar at cyphar.com>
Date: 2020-04-03 (Fri, 03 Apr 2020)
Changed paths:
M src/lxc/cgroups/cgfsng.c
Log Message:
-----------
cgroups: fix build warning on GCC 7
GCC 7 appears to be clever enough to detect that transient_len is
uninitialised but not that it won't be used despite [1]. Just initialise
it to zero to stop the complaining, and allow LXC to build on openSUSE
Leap.
[1]: 346830421a96 ("cgroups: fix "uninitialized transient_len" warning")
Signed-off-by: Aleksa Sarai <cyphar at cyphar.com>
Commit: 2862e55ea3a495d244584ea9ff7419761aeb9513
https://github.com/lxc/lxc/commit/2862e55ea3a495d244584ea9ff7419761aeb9513
Author: Christian Brauner <christian.brauner at ubuntu.com>
Date: 2020-04-02 (Thu, 02 Apr 2020)
Changed paths:
M src/lxc/cgroups/cgfsng.c
Log Message:
-----------
Merge pull request #3349 from cyphar/cgfsng-uninitialised-2
cgroups: fix build warning on GCC 7
Compare: https://github.com/lxc/lxc/compare/9f6302e3880a...2862e55ea3a4
More information about the lxc-devel
mailing list