B-0 added __pragma to avoid annoying warning on code that has assignement within if() statement