Fix compiler warning: Unused lexical variable `id'