renderer2: gcc warning fix