dashenc: Simplify code by using a local variable