From 3c82cfba7bd67e03a70fb24e9e7940b7ffc251d0 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 25 Apr 2018 17:42:11 +1000 Subject: Backport: Remove variables and casts that are not needed. Backport of changeset 6739:e204054d5d07. --- qt/ScintillaEditBase/PlatQt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qt/ScintillaEditBase/PlatQt.cpp') diff --git a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp index e32fec67d..fb7904f05 100644 --- a/qt/ScintillaEditBase/PlatQt.cpp +++ b/qt/ScintillaEditBase/PlatQt.cpp @@ -460,10 +460,10 @@ void SurfaceImpl::MeasureWidths(Font &font, if (unicodeMode) { int fit = su.size(); int ui=0; - const unsigned char *us = reinterpret_cast(s); int i=0; while (ui