Debugger: remove unneeded check and assignment

If the inner type is null at this point it will also be null when
assigning the same type again.

Change-Id: I4dbad41a60d4853ac016adb54c693ce19d6f65d0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2024-06-24 10:20:07 +02:00
parent 064f77a5a8
commit 3b7e782bc6

View File

@@ -1295,8 +1295,6 @@ class DumperBase():
innerType = arrayType.target()
#self.warn("ARRAY TYPE: %s" % arrayType)
#self.warn("INNER TYPE: %s" % innerType)
if innerType is None:
innerType = value.type.target()
address = value.address()
if address: