Stop g++ warning that "'prev' may be used uninitialized in this function" (it wouldn...