[Barcode] removed some unused variables