# HG changeset patch # User Chris Cannam # Date 1391522082 0 # Node ID dd64efa0dac81a9c61416329835ed7a0a230676d # Parent 15b5c679b90924f4bdfc0afac2c97355d841bfbe Avoid compiler warnings diff -r 15b5c679b909 -r dd64efa0dac8 layer/Layer.h --- a/layer/Layer.h Thu Jan 30 17:33:18 2014 +0000 +++ b/layer/Layer.h Tue Feb 04 13:54:42 2014 +0000 @@ -131,7 +131,7 @@ virtual int getVerticalScaleWidth(View *, bool detailed, QPainter &) const = 0; - virtual void paintVerticalScale(View *, bool detailed, + virtual void paintVerticalScale(View *, bool /* detailed */, QPainter &, QRect) const { } virtual bool getCrosshairExtents(View *, QPainter &, QPoint /* cursorPos */, @@ -150,7 +150,7 @@ return ""; } - virtual QString getLabelPreceding(size_t frame) const { + virtual QString getLabelPreceding(size_t /* frame */) const { return ""; } @@ -231,7 +231,7 @@ virtual void splitStart(View *, QMouseEvent *) { } virtual void splitEnd(View *, QMouseEvent *) { } - virtual void addNote(View *v, QMouseEvent *e) { }; + virtual void addNote(View *, QMouseEvent *) { }; // Measurement rectangle (or equivalent). Unlike draw and edit, // the base Layer class can provide working implementations of