Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/smbfs/dist/smbutil remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/e8f06c4f196a
branches:  trunk
changeset: 325578:e8f06c4f196a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 30 01:55:54 2013 +0000

description:
remove unused variable

diffstat:

 external/bsd/smbfs/dist/smbutil/login.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 07f1eda1705f -r e8f06c4f196a external/bsd/smbfs/dist/smbutil/login.c
--- a/external/bsd/smbfs/dist/smbutil/login.c   Mon Dec 30 01:34:22 2013 +0000
+++ b/external/bsd/smbfs/dist/smbutil/login.c   Mon Dec 30 01:55:54 2013 +0000
@@ -54,7 +54,7 @@
 cmd_login(int argc, char *argv[])
 {
        struct smb_ctx sctx, *ctx = &sctx;
-       int error, opt, setprimary = 0, level;
+       int error, opt, level;
 
        if (argc < 2)
                login_usage();
@@ -72,7 +72,6 @@
                                exit(1);
                        break;
                    case 'D':
-                       setprimary = 1;
                        break;
                    default:
                        login_usage();



Home | Main Index | Thread Index | Old Index