Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/ssh remove unused variable
details: https://anonhg.NetBSD.org/src/rev/548470ef8ee6
branches: trunk
changeset: 791173:548470ef8ee6
user: christos <christos%NetBSD.org@localhost>
date: Thu Nov 07 17:18:22 2013 +0000
description:
remove unused variable
diffstat:
distrib/utils/ssh/ssh.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d83c4c46d870 -r 548470ef8ee6 distrib/utils/ssh/ssh.c
--- a/distrib/utils/ssh/ssh.c Thu Nov 07 15:55:08 2013 +0000
+++ b/distrib/utils/ssh/ssh.c Thu Nov 07 17:18:22 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ssh.c,v 1.5 2011/08/25 16:54:58 christos Exp $ */
+/* $NetBSD: ssh.c,v 1.6 2013/11/07 17:18:22 christos Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@@ -417,7 +417,7 @@
cmd_run(int argc, char *argv[])
{
struct sigaction sa;
- int pid, err, cstat;
+ int pid, cstat;
char file[MAXPATHLEN];
int background;
char *opt, *ifile, *ofile, *efile;
@@ -494,7 +494,7 @@
sigaction(SIGINT, &sa, NULL);
sigaction(SIGQUIT, &sa, NULL);
}
- err = execve(file, argv, environ);
+ execve(file, argv, environ);
perror(argv[0]);
return 1;
}
Home |
Main Index |
Thread Index |
Old Index