[lxc-devel] [lxc/lxc] bb6dba: cgroups: remove pointless NULL checks

Stéphane Graber noreply at github.com
Mon Feb 1 15:15:09 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: bb6dbaf0dfbba308cd3e999f6a15a96dcb1bc7c4
      https://github.com/lxc/lxc/commit/bb6dbaf0dfbba308cd3e999f6a15a96dcb1bc7c4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: remove pointless NULL checks

We're already ensuring before that conf isn't NULL.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ed75d76e70233986364da5a4186088ecff335c0d
      https://github.com/lxc/lxc/commit/ed75d76e70233986364da5a4186088ecff335c0d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: initialize variable

Fixes: Coverity 1472651
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 2b5259634ae5642ca3bd119468629c18390b5815
      https://github.com/lxc/lxc/commit/2b5259634ae5642ca3bd119468629c18390b5815
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  Merge pull request #3643 from brauner/2021-02-01/fixes_2

cgroups: remove pointless NULL checks


Compare: https://github.com/lxc/lxc/compare/326bb02cbb93...2b5259634ae5


More information about the lxc-devel mailing list