diff layer/WaveformLayer.cpp @ 248:28c8e8e3c537

* Fix many compile warnings, remove some debug output
author Chris Cannam
date Mon, 30 Apr 2007 13:36:23 +0000
parents 34bbbcb3c01f
children 11021509c4eb
line wrap: on
line diff
--- a/layer/WaveformLayer.cpp	Mon Apr 30 09:07:08 2007 +0000
+++ b/layer/WaveformLayer.cpp	Mon Apr 30 13:36:23 2007 +0000
@@ -369,7 +369,7 @@
 
 bool
 WaveformLayer::getValueExtents(float &min, float &max,
-                               bool &log, QString &unit) const
+                               bool &, QString &unit) const
 {
     if (m_scale == LinearScale) {
         min = 0.0;
@@ -1001,7 +1001,6 @@
 {
     if (maxChannel < minChannel || channel < minChannel) return 0;
 
-    int w = v->width();
     int h = v->height();
 
     int channels = maxChannel - minChannel + 1;
@@ -1035,7 +1034,7 @@
 }
 
 int
-WaveformLayer::getVerticalScaleWidth(View *v, QPainter &paint) const
+WaveformLayer::getVerticalScaleWidth(View *, QPainter &paint) const
 {
     if (m_scale == LinearScale) {
 	return paint.fontMetrics().width("0.0") + 13;