remove unused variables

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5676 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-21 15:59:29 +00:00
parent 3a79ce93ac
commit 11488f8f45

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H<>gskolan
* Copyright (c) 1995, 1996, 1997, 1999 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -47,6 +47,8 @@ RCSID("$Id$");
#include <krb5.h>
#include <com_err.h>
#ifdef SIAD_GET_GROUPS /* >= 4.0 */
#define POSIX_GETPWNAM_R
#endif
@@ -172,7 +174,6 @@ common_auth(sia_collect_func_t *collect,
int pkgind)
{
prompt_t prompts[2], *pr;
krb5_principal princ;
if((siastat == SIADSUCCESS) && (geteuid() == 0))
return SIADSUCCESS;
@@ -216,8 +217,8 @@ common_auth(sia_collect_func_t *collect,
krb5_principal principal;
krb5_ccache ccache;
krb5_error_code ret;
struct passwd pw, *pwd, fpw, *fpwd;
char pwbuf[1024], fpwbuf[1024];
struct passwd pw, *pwd;
char pwbuf[1024];
struct state *s = (struct state*)entity->mech[pkgind];
if(getpwnam_r(entity->name, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0)
@@ -281,7 +282,6 @@ siad_ses_launch(sia_collect_func_t *collect,
SIAENTITY *entity,
int pkgind)
{
char buf[MaxPathLen];
char env[1024];
struct state *s = (struct state*)entity->mech[pkgind];
if(s->valid){
@@ -346,7 +346,7 @@ siad_chg_finger (sia_collect_func_t *collect,
}
int
siad_chg_passwd (sia_collect_func_t *collect,
siad_chg_password (sia_collect_func_t *collect,
const char *username,
int argc,
char *argv[])