diff options
author | brian <brian@FreeBSD.org> | 2009-07-08 10:16:16 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2009-07-08 10:16:16 +0000 |
commit | 446d01edc9ebdb046bfd5a9127af3886d4f871fc (patch) | |
tree | f24f429deb4cf639435f55c5f19cb53ede856ad1 /usr.bin | |
parent | a4c5e4ab3aa7e0bab4845ba6d6d5df0c9d40cf10 (diff) | |
download | FreeBSD-src-446d01edc9ebdb046bfd5a9127af3886d4f871fc.zip FreeBSD-src-446d01edc9ebdb046bfd5a9127af3886d4f871fc.tar.gz |
Fix some uninitialise variables.
PR: 136383
Submitted by: Ulrich Spoerlein - uqs at spoerlein dot net
Approved by: re (kib)
MFC after: 3 weeks
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/jot/jot.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c index 2e58968..2e33d41 100644 --- a/usr.bin/jot/jot.c +++ b/usr.bin/jot/jot.c @@ -101,13 +101,13 @@ main(int argc, char **argv) int ch; int mask = 0; int n = 0; - double begin; + double begin = BEGIN_DEF; double divisor; - double ender; - double s; + double ender = ENDER_DEF; + double s = STEP_DEF; double x, y; long i; - long reps; + long reps = REPS_DEF; while ((ch = getopt(argc, argv, "b:cnp:rs:w:")) != -1) switch (ch) { |