aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ee
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>1998-12-06 22:58:23 +0000
committerArchie Cobbs <archie@FreeBSD.org>1998-12-06 22:58:23 +0000
commitfa146c53357ea20afd3661d8093ea1db44198d5f (patch)
treea75604be1743b2dbb3ae09ab3f3275f9f1d33d75 /usr.bin/ee
parent872963ff956b81ce07e442531158371f50388eb4 (diff)
Notes
Diffstat (limited to 'usr.bin/ee')
-rw-r--r--usr.bin/ee/Makefile1
-rw-r--r--usr.bin/ee/ee.c10
2 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/ee/Makefile b/usr.bin/ee/Makefile
index 08488471f6ad3..859d53b92d7a4 100644
--- a/usr.bin/ee/Makefile
+++ b/usr.bin/ee/Makefile
@@ -2,6 +2,7 @@ CFLAGS+= -DCAP -DHAS_NCURSES -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB \
-DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DSLCT_HDR
PROG= ee
+CFLAGS+=-Wall
LINKS= ${BINDIR}/ee ${BINDIR}/ree
MLINKS= ee.1 ree.1
DPADD= ${LIBNCURSES} ${LIBMYTINFO}
diff --git a/usr.bin/ee/ee.c b/usr.bin/ee/ee.c
index 485afeab73b36..bb38c7007d166 100644
--- a/usr.bin/ee/ee.c
+++ b/usr.bin/ee/ee.c
@@ -52,7 +52,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: ee.c,v 1.10 1998/04/30 12:49:11 ache Exp $";
+ "$Id: ee.c,v 1.11 1998/10/01 21:18:18 obrien Exp $";
#endif /* not lint */
char *ee_copyright_message =
@@ -64,7 +64,7 @@ char *ee_long_notice[] = {
"copyright. All rights are reserved."
};
-char *version = "@(#) ee, version 1.3 $Revision: 1.10 $";
+char *version = "@(#) ee, version 1.3 $Revision: 1.11 $";
#ifdef NCURSE
#include "new_curse.h"
@@ -1897,7 +1897,7 @@ char *cmd_str;
int number;
int i;
char *ptr;
- char *direction;
+ char *direction = NULL;
struct text *t_line;
ptr = cmd_str;
@@ -1968,7 +1968,7 @@ char *arguments[];
{
char *buff;
int count;
- struct files *temp_names;
+ struct files *temp_names = NULL;
char *name;
char *ptr;
@@ -3192,7 +3192,7 @@ struct menu_entries menu_list[];
int counter;
int length;
int input;
- int temp;
+ int temp = 0;
int list_size;
int top_offset; /* offset from top where menu items start */
int vert_pos; /* vertical position */