Skip to content

Commit

Permalink
Get rid of warning about unused parameter in create_font.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregersn committed Nov 11, 2024
1 parent 2f702c2 commit 68d060a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Pyro
return font;
}

Font *create_font(std::filesystem::path filename, int size)
Font *create_font(std::filesystem::path filename, int /*size*/)
{
// TODO: Use size
return Font::load(filename);
Expand Down

0 comments on commit 68d060a

Please sign in to comment.