Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
bd9e78f5
Commit
bd9e78f5
authored
Jun 08, 2015
by
Tycho Andersen
Committed by
Serge Hallyn
Jun 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c/r: remove unused variable mnts
Reported-by: Coverity Signed-off-by:
Tycho Andersen
<
tycho.andersen@canonical.com
>
Signed-off-by:
Serge Hallyn
<
serge.hallyn@ubuntu.com
>
parent
3158ab5b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
criu.c
src/lxc/criu.c
+0
-3
No files found.
src/lxc/criu.c
View file @
bd9e78f5
...
@@ -54,7 +54,6 @@ void exec_criu(struct criu_opts *opts)
...
@@ -54,7 +54,6 @@ void exec_criu(struct criu_opts *opts)
struct
lxc_list
*
it
;
struct
lxc_list
*
it
;
char
buf
[
4096
];
char
buf
[
4096
];
FILE
*
mnts
=
NULL
;
/* The command line always looks like:
/* The command line always looks like:
* criu $(action) --tcp-established --file-locks --link-remap --force-irmap \
* criu $(action) --tcp-established --file-locks --link-remap --force-irmap \
...
@@ -189,8 +188,6 @@ void exec_criu(struct criu_opts *opts)
...
@@ -189,8 +188,6 @@ void exec_criu(struct criu_opts *opts)
#undef DECLARE_ARG
#undef DECLARE_ARG
execv
(
argv
[
0
],
argv
);
execv
(
argv
[
0
],
argv
);
err:
err:
if
(
mnts
)
fclose
(
mnts
);
for
(
i
=
0
;
argv
[
i
];
i
++
)
for
(
i
=
0
;
argv
[
i
];
i
++
)
free
(
argv
[
i
]);
free
(
argv
[
i
]);
free
(
argv
);
free
(
argv
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment