Skip to content

Commit ca78444

Browse files
committed
Silence implicit fall-through warnings
1 parent 83b9d19 commit ca78444

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Marlin/src/libs/numtostr.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
#include "../inc/MarlinConfigPre.h"
2626
#include "../core/utility.h"
2727

28+
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
29+
2830
constexpr char DIGIT(const uint8_t n) { return '0' + n; }
2931

3032
template <typename T1, typename T2>

0 commit comments

Comments
 (0)