On Thu, Oct 31, 2019 at 12:11:39PM -0700, Han Zhou wrote:
> Thanks for review. Yes, it seems to be only a problem with old GCC. I see
> all the other places in the repo that use strtok_r() are with the saveptr
> parameter initialized to NULL before use. 

Yes, that's exactly because GCC tends to complain otherwise.
Initializing saveptr is the right thing to do.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to