[InfoBar] remove unused variable