Skip to content

Commit

Permalink
cgroups: remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: tomponline <tomp@tomp.uk>
  • Loading branch information
tomponline committed Mar 4, 2019
1 parent 7c73737 commit 7717e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/cgroups/cgfsng.c
Expand Up @@ -386,7 +386,7 @@ static bool cg_legacy_filter_and_set_cpus(char *path, bool am_initialized)
int ret;
ssize_t i;
char oldv;
char *lastslash, *posscpus_tmp;
char *lastslash;
ssize_t maxisol = 0, maxposs = 0;
bool bret = false, flipped_bit = false;

Expand Down Expand Up @@ -2642,7 +2642,7 @@ static int cg_unified_init(struct cgroup_ops *ops, bool relative,
{
__do_free char *subtree_path = NULL;
int ret;
char *mountpoint, *tmp;
char *mountpoint;
char **delegatable;
struct hierarchy *new;
char *base_cgroup = NULL;
Expand Down

0 comments on commit 7717e17

Please sign in to comment.