0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00

Fix unused variable warning in release mode.

This commit is contained in:
Ryan Dahl 2018-10-05 17:01:46 -04:00
parent 1ac80feb1c
commit f998f7b9af

View file

@ -45,7 +45,7 @@ void DeleteDataRef(Deno* d, int32_t req_id) {
auto async_data_map = d->async_data_map.Get(d->isolate);
auto req_id_v = v8::Integer::New(d->isolate, req_id);
auto maybe_deleted = async_data_map->Delete(context, req_id_v);
DCHECK(maybe_deleted.IsJust());
CHECK(maybe_deleted.IsJust());
}
// Extracts a C string from a v8::V8 Utf8Value.