Skip to content

Commit b4458c2

Browse files
committed
Fix dead code in environment.cpp
1 parent 24f7d66 commit b4458c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/conformance/source/environment.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ void KernelsEnvironment::LoadSource(
445445

446446
if (source_path.empty()) {
447447
FAIL() << error;
448-
binary_out = nullptr;
449448
}
450449

451450
if (cached_kernels.find(source_path) != cached_kernels.end()) {
@@ -459,7 +458,6 @@ void KernelsEnvironment::LoadSource(
459458

460459
if (!source_file.is_open()) {
461460
FAIL() << "failed opening kernel path: " + source_path;
462-
binary_out = nullptr;
463461
}
464462

465463
size_t source_size = static_cast<size_t>(source_file.tellg());

0 commit comments

Comments
 (0)