diff options
author | ache <ache@FreeBSD.org> | 2001-08-13 19:43:14 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-08-13 19:43:14 +0000 |
commit | 1a5b422654db1c2fd985e63d5660a98ffa6f30f7 (patch) | |
tree | 6f5351d4befa416bce33752b58ae9c90797a8daf /contrib | |
parent | 43cab203eb57f896875a58fe2f0eb6380fd372c6 (diff) | |
download | FreeBSD-src-1a5b422654db1c2fd985e63d5660a98ffa6f30f7.zip FreeBSD-src-1a5b422654db1c2fd985e63d5660a98ffa6f30f7.tar.gz |
Fix uninitialized "force" variable.
PR: 23203
Submitted by: fenner
Approved by: markm
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/opie/opiekey.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/opie/opiekey.c b/contrib/opie/opiekey.c index 20f982b..66e6b7b 100644 --- a/contrib/opie/opiekey.c +++ b/contrib/opie/opiekey.c @@ -35,6 +35,9 @@ License Agreement applies to this software. Modified at NRL for OPIE 2.0. Written at Bellcore for the S/Key Version 1 software distribution (skey.c). + +$FreeBSD$ + */ #include "opie_cfg.h" @@ -138,7 +141,7 @@ int main FUNCTION((argc, argv), int argc AND char *argv[]) char *slash; int hex = 0; int type = RESPONSE_STANDARD; - int force; + int force = 0; if (slash = strchr(argv[0], '/')) slash++; |