Revert "LPS-44123 Remove unused var"

This reverts commit c816d642508a7699c24980f876d67e96790d878e.