trafficserver
trafficserver copied to clipboard
Is this incorrect initialization of `LogField::m_set_func`?
Hi there,
This constructor of LogField takes SetFunc _setfunc but it doesn't set its member m_set_func to it. Instead it sets m_set_func(nullptr). The passed _setfunc is unused in this function.
So, my question is if this is intentional or the m_set_func member should be initialized with the passed _setfunc?