[PATCH] Explicitly initialize m_v_n and m_v_b

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-net-gprs@lists.osmocom.org/.

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