1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Nix a few unused attributes on arguments which are no longer unused.

This commit is contained in:
Nicholas Marriott 2009-07-21 18:52:03 +00:00
parent 044ebf1952
commit 6945e86fd7
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ client_msg_fn_error(struct hdr *hdr, struct client_ctx *cctx, char **error)
int int
client_msg_fn_detach( client_msg_fn_detach(
struct hdr *hdr, unused struct client_ctx *cctx, unused char **error) struct hdr *hdr, struct client_ctx *cctx, unused char **error)
{ {
if (hdr->size != 0) if (hdr->size != 0)
fatalx("bad MSG_DETACH size"); fatalx("bad MSG_DETACH size");
@ -98,7 +98,7 @@ client_msg_fn_detach(
int int
client_msg_fn_shutdown( client_msg_fn_shutdown(
struct hdr *hdr, unused struct client_ctx *cctx, unused char **error) struct hdr *hdr, struct client_ctx *cctx, unused char **error)
{ {
if (hdr->size != 0) if (hdr->size != 0)
fatalx("bad MSG_SHUTDOWN size"); fatalx("bad MSG_SHUTDOWN size");
@ -111,7 +111,7 @@ client_msg_fn_shutdown(
int int
client_msg_fn_exit( client_msg_fn_exit(
struct hdr *hdr, unused struct client_ctx *cctx, unused char **error) struct hdr *hdr, struct client_ctx *cctx, unused char **error)
{ {
if (hdr->size != 0) if (hdr->size != 0)
fatalx("bad MSG_EXIT size"); fatalx("bad MSG_EXIT size");

View File

@ -68,7 +68,7 @@ cmd_confirm_before_init(struct cmd *self, int key)
} }
int int
cmd_confirm_before_exec(unused struct cmd *self, struct cmd_ctx *ctx) cmd_confirm_before_exec(struct cmd *self, struct cmd_ctx *ctx)
{ {
struct cmd_target_data *data = self->data; struct cmd_target_data *data = self->data;
struct cmd_confirm_before_data *cdata; struct cmd_confirm_before_data *cdata;