Fix unused function warning for release build
This commit is contained in:
parent
bf9e279952
commit
e266bb476e
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ namespace psemek::util
|
|||
if (!is_middle_byte(*ptr))
|
||||
throw invalid_utf8(ptr);
|
||||
#else
|
||||
(void*)ptr;
|
||||
(void)is_middle_byte(*ptr);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue