Skip to content

Remove dead code#3

Open
jecaro wants to merge 1 commit into
pimoroni:mainfrom
jecaro:fix-compilation-error
Open

Remove dead code#3
jecaro wants to merge 1 commit into
pimoroni:mainfrom
jecaro:fix-compilation-error

Conversation

@jecaro
Copy link
Copy Markdown

@jecaro jecaro commented Feb 5, 2026

This dead code makes the compilation fail on my system with:

/home/jcquillet/development/badgeware-simulator/src/font.cpp: In member function ‘picovector::rect_t picovector::font_t::measure(picovector::image_t*, const char*, float)’:
/home/jcquillet/development/badgeware-simulator/src/font.cpp:50:18: error: variable ‘b’ set but not used [-Werror=unused-but-set-variable]
   50 |           rect_t b = this->glyphs[j].bounds(&transform);
      |                  ^

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

Successfully merging this pull request may close these issues.

1 participant