Re: pfctl/parse.y: don't check np->port for NULL

2017-05-28 Thread Alexander Bluhm
OK bluhm@ On Sat, May 27, 2017 at 07:53:30PM +0200, Michal Mazurek wrote: > Index: sbin/pfctl/parse.y > === > RCS file: /cvs/src/sbin/pfctl/parse.y,v > retrieving revision 1.659 > diff -u -p -r1.659 parse.y > --- sbin/pfctl/parse.y

pfctl/parse.y: don't check np->port for NULL

2017-05-28 Thread Michal Mazurek
Found with clang. The warning was: clang -O2 -pipe -Wall -Wmissing-prototypes -Wno-uninitialized -Wstrict-prototypes -I/usr/src/sbin/pfctl -Werror-implicit-function-declaration -c parse.c /usr/src/sbin/pfctl/parse.y:4599: