Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/libcrun: rm unused vars #483

Merged
merged 1 commit into from
Sep 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/libcrun/container.c
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,6 @@ libcrun_container_run_internal (libcrun_container_t *container, libcrun_context_
cleanup_close int socket_pair_0 = -1;
cleanup_close int socket_pair_1 = -1;
cleanup_close int seccomp_fd = -1;
cleanup_close int seccomp_receiver_fd = -1;
cleanup_close int console_socket_fd = -1;
cleanup_close int hooks_out_fd = -1;
cleanup_close int hooks_err_fd = -1;
Expand Down
2 changes: 0 additions & 2 deletions src/libcrun/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,6 @@ read_all_file_at (int dirfd, const char *path, char **out, size_t *len, libcrun_
int
read_all_file (const char *path, char **out, size_t *len, libcrun_error_t *err)
{
cleanup_close int fd = -1;

if (strcmp (path, "-") == 0)
path = "/dev/stdin";

Expand Down