Skip to content

Commit 7b454dd

Browse files
committed
resolving new compiler warning
1 parent be66a90 commit 7b454dd

File tree

1 file changed

+1
-0
lines changed
  • libraries/sysiolib/core/sysio

1 file changed

+1
-0
lines changed

libraries/sysiolib/core/sysio/hex.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ namespace sysio {
2424
if (c >= 'a' && c <= 'f') return c - 'a' + 10;
2525
if (c >= 'A' && c <= 'F') return c - 'A' + 10;
2626
sysio::check(false, std::string("Invalid hex char: ") + c);
27+
return 0; // Unreachable, but silences compiler warning
2728
}
2829

2930
/**

0 commit comments

Comments
 (0)