We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be66a90 commit 7b454ddCopy full SHA for 7b454dd
libraries/sysiolib/core/sysio/hex.hpp
@@ -24,6 +24,7 @@ namespace sysio {
24
if (c >= 'a' && c <= 'f') return c - 'a' + 10;
25
if (c >= 'A' && c <= 'F') return c - 'A' + 10;
26
sysio::check(false, std::string("Invalid hex char: ") + c);
27
+ return 0; // Unreachable, but silences compiler warning
28
}
29
30
/**
0 commit comments