Remove useless casts of NULL in variable definitions
commit9145fd9ebd4d23139169de12dea6f6ec20ee96fa
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sat, 1 Jul 2017 17:38:24 +0000 (1 20:38 +0300)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sat, 1 Jul 2017 17:38:24 +0000 (1 20:38 +0300)
tree5852fc05f44544db55628a7ea3ee02c9c3b8b1ad
parent0ace4b98a4b07c08f0e41208d148c8b58602e823
Remove useless casts of NULL in variable definitions

Removed via the following semantic patch:

@@
type t;
identifier i;
@@

- t *i = (t *)0;
+ t *i = NULL;
usr/src/cmd/cmd-inet/usr.bin/chat/chat.c
usr/src/cmd/sgs/yacc/common/y2.c
usr/src/lib/libbsm/common/audit_event.c
usr/src/lib/libeti/form/common/field.c
usr/src/lib/libeti/form/common/fieldtype.c
usr/src/lib/libxcurses/src/libc/xcurses/doupdate.c
usr/src/uts/common/io/fibre-channel/ulp/fcip.c