Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unused library variables causing warning messages #68

Open
rtek1000 opened this issue Jul 25, 2022 · 0 comments
Open

Unused library variables causing warning messages #68

rtek1000 opened this issue Jul 25, 2022 · 0 comments

Comments

@rtek1000
Copy link

rtek1000 commented Jul 25, 2022

https://github.com/freetronics/DMD2/blob/master/DMD2_TextBox.cpp line 55:

From:
int delta = cur_y + rowHeight - height; // the amount that it's over by

To:
// int delta = cur_y + rowHeight - height; // the amount that it's over by

https://github.com/freetronics/DMD2/blob/master/DMD2_Text.cpp line 139:

From:
template <class StrType> __attribute__((always_inline)) inline unsigned int _stringWidth(DMDFrame *dmd, const uint8_t *font, StrType str)
To:
template <class StrType> __attribute__((always_inline)) inline unsigned int _stringWidth(DMDFrame *dmd, const uint8_t *, StrType str)

See discussion here:
https://forum.arduino.cc/t/how-to-resolve-this-notification-in-instantiation-of-xxxx-required-from-here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant