diff layer/LinearNumericalScale.cpp @ 810:b68af2be4545 tonioni

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:42:25 +0100
parents 1d526ba11a24
children 3ca3b8fbbcee
line wrap: on
line diff
--- a/layer/LinearNumericalScale.cpp	Mon Jun 16 12:50:27 2014 +0100
+++ b/layer/LinearNumericalScale.cpp	Wed Jun 18 13:42:25 2014 +0100
@@ -23,7 +23,7 @@
 #include "view/View.h"
 
 int
-LinearNumericalScale::getWidth(View *v,
+LinearNumericalScale::getWidth(View *,
 			       QPainter &paint)
 {
     return paint.fontMetrics().width("-000.00") + 10;
@@ -37,8 +37,6 @@
 				    float minf,
 				    float maxf)
 {
-    int h = v->height();
-
     int n = 10;
 
     float val = minf;