Removed a few warnings in TBB optimized code