fix compiler warning in LTMPlot

.. about unused variable 'middle'.