Prior to this commit the non-static class member m_last_block_processed was not initialized in the CWallet constructor nor in any functions that the constructor calls.
m_last_block_processed was introduced in 5ee31726360cbe343f5a1a50a5e440db736da5b7 (part of PR #10286) which was merged into master a couple of days ago.
Friendly ping @TheBlueMatt :-)