Commit b9442c22 authored by gejun's avatar gejun

r35333: Fix uninitialized value compiler error

parent 0971bf63
......@@ -589,7 +589,7 @@ TEST_F(ExecutionQueueTest, random_cancel) {
int64_t expected = 0;
for (int i = 0; i < 100000; ++i) {
bthread::TaskHandle h;
AddTask t;
AddTask t = {0};
t.value = i;
t.cancel_task = false;
ASSERT_EQ(0, bthread::execution_queue_execute(queue_id, t, NULL, &h));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment