[PATCH] Explicitly initialize m_v_n and m_v_b

Holger Freyther holger at freyther.de
Thu Feb 25 16:58:08 UTC 2016


> On 25 Feb 2016, at 17:28, msuraev at sysmocom.de wrote:
> 
> 
> +inline gprs_rlc_v_b::gprs_rlc_v_b()
> +{
> +	reset();
> +}
> +
> +inline gprs_rlc_v_n::gprs_rlc_v_n()
> +{
> +	reset();
> +}
> +
> inline gprs_rlc_ul_window::gprs_rlc_ul_window()
> 	: m_v_r(0)
> 	, m_v_q(0)
> {
> +	m_v_n.reset();

why this? You have just added a ctor of the _v_n::.._v_n()?







More information about the osmocom-net-gprs mailing list