Hey all,
    In compiling lilypond this morning, I saw this:

font-metric.cc:82: warning: unused parameter 'k'

Checking out the function in question, I saw this:

Box
Font_metric::get_indexed_char_dimensions (size_t k) const
{
  return Box (Interval (0, 0), Interval (0, 0));
}

Not knowing what this function is supposed to do, I am not sure if this is a
problem, but if k is not necessary, perhaps:

Box
Font_metric::get_indexed_char_dimensions (size_t) const
{
  return Box (Interval (0, 0), Interval (0, 0));
}

would be better?

~Mike



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to