Skip to content

Commit 480ff40

Browse files
kevincaimergify[bot]
authored andcommitted
[BugFix] use maybe_unused to supress unused return result (#58419)
Signed-off-by: Kevin Cai <[email protected]> (cherry picked from commit 7821437)
1 parent 0f9b0ef commit 480ff40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

be/src/util/simdjson_util.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class SimdjsonParser {
3636
SimdjsonParser() {
3737
// The `_parser` is only used for `unescape`ing, which touches nothing of the parser's internal structure,
3838
// so the capacity doesn't matter.
39-
(void)_parser.allocate(0);
39+
[[maybe_unused]] auto err = _parser.allocate(0);
4040
}
4141
~SimdjsonParser() = default;
4242

0 commit comments

Comments
 (0)