diff --git a/src/frontends/NoGuiFontMetrics.h b/src/frontends/NoGuiFontMetrics.h index 3ff1d11eff..bf0ea1bf3f 100644 --- a/src/frontends/NoGuiFontMetrics.h +++ b/src/frontends/NoGuiFontMetrics.h @@ -54,7 +54,7 @@ public: return FontMetrics::width(s); } - virtual Dimension const dimension(char_type c) const { return Dimension(1, 1, 1); } + virtual Dimension const dimension(char_type) const { return Dimension(1, 1, 1); } virtual void rectText(docstring const &, int & /*width*/, int & /*ascent*/, int & /*descent*/) const {}