[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Font metric unused variable
From: |
Mike Solomon |
Subject: |
Font metric unused variable |
Date: |
Wed, 21 Jul 2010 13:51:12 +0200 |
User-agent: |
Microsoft-Entourage/11.4.0.080122 |
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
- Font metric unused variable,
Mike Solomon <=