drop never used variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23663 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -686,7 +686,6 @@ static CK_RV
|
|||||||
read_conf_file(const char *fn, CK_USER_TYPE userType, const char *pin)
|
read_conf_file(const char *fn, CK_USER_TYPE userType, const char *pin)
|
||||||
{
|
{
|
||||||
char buf[1024], *type, *s, *p;
|
char buf[1024], *type, *s, *p;
|
||||||
int anchor;
|
|
||||||
FILE *f;
|
FILE *f;
|
||||||
CK_RV ret = CKR_OK;
|
CK_RV ret = CKR_OK;
|
||||||
CK_RV failed = CKR_OK;
|
CK_RV failed = CKR_OK;
|
||||||
@@ -701,8 +700,6 @@ read_conf_file(const char *fn, CK_USER_TYPE userType, const char *pin)
|
|||||||
while(fgets(buf, sizeof(buf), f) != NULL) {
|
while(fgets(buf, sizeof(buf), f) != NULL) {
|
||||||
buf[strcspn(buf, "\n")] = '\0';
|
buf[strcspn(buf, "\n")] = '\0';
|
||||||
|
|
||||||
anchor = 0;
|
|
||||||
|
|
||||||
st_logf("line: %s\n", buf);
|
st_logf("line: %s\n", buf);
|
||||||
|
|
||||||
p = buf;
|
p = buf;
|
||||||
|
Reference in New Issue
Block a user