Commit Graph

16 Commits

Author SHA1 Message Date
mrg fbffadb9f8 - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily
2019-02-03 03:19:25 +00:00
christos 6e28978d84 fix unused variable warnings 2013-10-18 20:47:06 +00:00
joerg 73c26f5d13 Remove copyright, use __RCSID. 2013-09-13 20:51:20 +00:00
joerg 06cf5ec8d8 Use __dead. Be a bit more consistent about static.__dead. Be a bit more
consistent about static.
2011-08-31 13:38:19 +00:00
joerg b794a0de4d Kill self assignment 2011-05-24 12:19:11 +00:00
wiz 67bd9cb78f Remove superfluous parenthesis in #ifdef DEBUG.
From Henning Petersen in PR 41844.
2009-08-07 14:05:58 +00:00
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00
lukem 35d7a878c6 fix -Wsign-compare issues 2009-04-11 13:01:27 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
perry 36c7456d7c include sys/cdefs.h so that __attribute__ can be fixed later 2007-12-15 16:32:05 +00:00
rpaulo 95abecf761 We already pass WARNS=3. 2005-09-01 18:27:24 +00:00
wiz d3a0b4c8cd Sync usage with man page (from jmc@openbsd). 2005-07-06 07:57:19 +00:00
wiz b08598c658 Improve -ml description, wording from jmc@openbsd. 2005-07-05 15:28:16 +00:00
wiz d54d971520 Use more macros. Sort -m arguments and fix their descriptions.
Break some lines to fit 80 characters per line.
2005-07-02 10:29:44 +00:00
christos 97ccbe263d WARNS=3 2005-06-30 16:23:29 +00:00
perry cd4e76b8f7 deroff, from OpenBSD. Needed for spell(1) which I'll be pulling in shortly.
The code came from 32v and then 4.4BSD.  After the code was freed by
Caldera, it was cleaned up and ANSIfied by Todd Miller for OpenBSD.

I've added a TODO with several items on it, basically code cleanup and
adding support for mdoc. As it stands, this won't yet pass WARNS=1.
2005-06-29 20:58:50 +00:00