mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
C++: Remove redundant lines.
This commit is contained in:
@@ -688,11 +688,7 @@ private Overlap getExtentOverlap(MemoryLocation0 def, MemoryLocation0 use) {
|
||||
(
|
||||
// EntireAllocationMemoryLocation exactly overlaps itself.
|
||||
use instanceof EntireAllocationMemoryLocation and
|
||||
(
|
||||
def.getAnAllocation() = use.getAnAllocation() or
|
||||
not exists(def.getAnAllocation()) or
|
||||
not exists(def.getAnAllocation())
|
||||
) and
|
||||
def.getAnAllocation() = use.getAnAllocation() and
|
||||
result instanceof MustExactlyOverlap
|
||||
or
|
||||
not use instanceof EntireAllocationMemoryLocation and
|
||||
|
||||
Reference in New Issue
Block a user