Skip to content

Commit

Permalink
Handle an impossible error to make a warning go away.
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Feb 9, 2024
1 parent 00de8bc commit e754a1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/substrait/common/Io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ absl::StatusOr<::substrait::proto::Plan> loadPlan(
case PlanFileFormat::kText:
return textplan::loadFromText(*contentOrError);
}
// There are no other possibilities so this can't happen.
return absl::UnimplementedError("Unexpected format encountered.");
}

absl::Status savePlan(
Expand Down

0 comments on commit e754a1c

Please sign in to comment.