Skip to content

Commit

Permalink
Delete unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeNeedham committed May 10, 2024
1 parent 7c68aad commit a1f4f13
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,6 @@ internal object DigraphBuilder {
}
}

private fun throwIfGraphEmpty(graphResult: GraphParseResult) {
val graphModel = graphResult.graph
val config = graphResult.config
if (graphModel.isEmpty()) {
error(
"""
|This graph is empty.
|It may be that the config is too restrictive: $config
""".trimMargin(),
)
}
}

private fun verifySufficientGraph(graphResult: GraphParseResult) {
val graphModel = graphResult.graph
val config = graphResult.config
Expand Down

0 comments on commit a1f4f13

Please sign in to comment.