Skip to content

Commit

Permalink
Silence implicit fall-through warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Oct 21, 2024
1 parent 0663360 commit 5649e61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Marlin/src/libs/numtostr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "../inc/MarlinConfigPre.h"
#include "../core/utility.h"

#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"

constexpr char DIGIT(const uint8_t n) { return '0' + n; }

template <typename T1, typename T2>
Expand Down

0 comments on commit 5649e61

Please sign in to comment.