mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
Merge pull request #17692 from igfoo/igfoo/unused
KE2: Remove some dead code
This commit is contained in:
@@ -1466,9 +1466,6 @@ private fun KotlinFileExtractor.extractConstant(
|
||||
t.isLongType -> {
|
||||
// OLD: KE1: Was: exprIdOrFresh<DbLongliteral>(overrideId).also { id ->
|
||||
tw.getFreshIdLabel<DbLongliteral>().also { id ->
|
||||
if (t == null) {
|
||||
TODO()
|
||||
}
|
||||
val type = useType(t)
|
||||
val locId = tw.getLocation(e)
|
||||
tw.writeExprs_longliteral(id, type.javaResult.id, parent, idx)
|
||||
@@ -2327,4 +2324,4 @@ private fun KotlinFileExtractor.extractBreakContinue(e: KtExpressionWithLabel, i
|
||||
tw.writeNamestrings(label, "", id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user