[PATCH 2/2] Remove static analysis assertions