Skip to content

Commit ef61b67

Browse files
committed
[c++] Silence unused warning in car benchmark.
1 parent 5a438fc commit ef61b67

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sbe-benchmarks/src/main/cpp/SbeCarCodecBench.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,11 @@ class SbeCarCodecBench : public CodecBench<SbeCarCodecBench>
133133
tmpChar = car.manufacturer();
134134
tmpChar = car.model();
135135

136+
(void)tmpInt;
137+
(void)tmpChar;
138+
(void)tmpDouble;
139+
(void)tmpBool;
140+
136141
return car.encodedLength();
137142
};
138143

0 commit comments

Comments
 (0)