[lxc-devel] [lxc/lxc] 608e35: coverity: fix mount_entry_create_dir_file

GitHub noreply at github.com
Fri Sep 4 18:15:54 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 608e356771c86735d9ed502076a00f13f020e9dd
      https://github.com/lxc/lxc/commit/608e356771c86735d9ed502076a00f13f020e9dd
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2015-09-04 (Fri, 04 Sep 2015)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  coverity: fix mount_entry_create_dir_file

First, fix use of uninitialized variable 'ret'.  Then, actually use
the value it returned in its caller.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>




More information about the lxc-devel mailing list