Skip to content

Commit

Permalink
[vm/gardening] Fix unused variable warning due to args evaluation ord…
Browse files Browse the repository at this point in the history
…ering

Bug: #59808
Change-Id: Ief330084f7d3782b126d028a34554a01f22db680
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/402420
Reviewed-by: Samuel Rawlins <[email protected]>
Commit-Queue: Alexander Aprelev <[email protected]>
  • Loading branch information
aam authored and Commit Queue committed Dec 26, 2024
1 parent c01fe77 commit 6a29e9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/embedder/run_kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ int main(int argc, char** argv) {
char* error;

// Start Dart VM.
CheckError(dart::embedder::InitOnce(&error), error,
"dart::embedder::InitOnce");
bool result = dart::embedder::InitOnce(&error);
CheckError(result, error, "dart::embedder::InitOnce");

std::vector<const char*> flags{};
CheckError(Dart_SetVMFlags(flags.size(), flags.data()), "Dart_SetVMFlags");
Expand Down

0 comments on commit 6a29e9f

Please sign in to comment.