2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00

Consistently write null pointer constants as NULL instead of 0.

Found with sparse.
This commit is contained in:
Ben Pfaff
2011-05-04 13:49:42 -07:00
parent 1102893de4
commit e3c1773370
24 changed files with 138 additions and 138 deletions

View File

@@ -55,7 +55,7 @@ rtnetlink_create(int multicast_group, rtnetlink_parse_func *parse,
struct rtnetlink *rtn;
rtn = xzalloc(sizeof *rtn);
rtn->notify_sock = 0;
rtn->notify_sock = NULL;
rtn->multicast_group = multicast_group;
rtn->parse = parse;
rtn->change = change;