Fix analyzer warning (and potential crash)