NetBSD/usr.bin/vi/common
christos 49334834f0 Coverity CID 793 uncovered a bunch of issues:
1. needfree = 0, should have been *needfree = 0
2. this function will not work with sp == NULL, since KEY_NAME dereferences it.
3. the if (0) {
  label:
  }
  code is disgusting.

Remove all the nasty and impossible code and fix 1.
2006-09-27 21:01:18 +00:00
..
api.c
args.h
common.h
cut.c appease gcc -Wuninitialized. 2005-06-02 04:25:16 +00:00
cut.h Add (unsigned char) cast to ctype functions 2004-11-05 19:50:12 +00:00
delete.c Coverity CID 4166: If GET_SPACE_RET can return a NULL pointer if len == 0. 2006-09-27 20:04:25 +00:00
exf.c Fix previous Coverity "fix" so that it doesn't break vi completely. 2006-05-27 12:03:37 +00:00
exf.h
gs.h
key.c
key.h
line.c flush the current line cache on every operation on the DB. 2004-05-02 17:00:31 +00:00
log.c
log.h
main.c
mark.c
mark.h
mem.h
msg.c Coverity CID 793 uncovered a bunch of issues: 2006-09-27 21:01:18 +00:00
msg.h
options.awk
options.c appease gcc -Wuninitialized. 2005-06-02 04:25:16 +00:00
options.h
options_f.c
put.c
recover.c appease gcc -Wuninitialized. 2005-06-02 04:25:16 +00:00
screen.c
screen.h
search.c
seq.c
seq.h
util.c
util.h