Fix #10894 compiler warnings.

This commit is contained in:
Richard Heck 2017-12-16 00:59:07 -05:00
parent 37f8efe9f7
commit 71005d6c10

View File

@ -253,8 +253,8 @@ docstring InsetCitation::toolTip(BufferView const & bv, int, int) const
docstring tip; docstring tip;
tip += "<ol>"; tip += "<ol>";
int count = 0; int count = 0;
for (docstring const & key : keys) { for (docstring const & kit : keys) {
docstring const key_info = bi.getInfo(key, buffer(), ci); docstring const key_info = bi.getInfo(kit, buffer(), ci);
// limit to reasonable size. // limit to reasonable size.
if (count > 9 && keys.size() > 11) { if (count > 9 && keys.size() > 11) {
tip.push_back(0x2026);// HORIZONTAL ELLIPSIS tip.push_back(0x2026);// HORIZONTAL ELLIPSIS