trafficserver icon indicating copy to clipboard operation
trafficserver copied to clipboard

Is this incorrect initialization of `LogField::m_set_func`?

Open freak82 opened this issue 1 year ago • 0 comments

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?

freak82 avatar May 21 '24 08:05 freak82