Browse Source

Remove redundant truthy check

nosoop 10 months ago
parent
commit
20c5a90aa0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/smgdc/angr/vtable_disamb.py

+ 1 - 1
src/smgdc/angr/vtable_disamb.py

@@ -365,7 +365,7 @@ class VtableDisambiguator(angr.Analysis):
                     function_list.append(VTableFunction(table_index, {call_unexpected}))
                     continue
 
-                fnsyms = set(self.syms_by_addr.get(vptr) or set()) if vptr else set()
+                fnsyms = set(self.syms_by_addr.get(vptr) or set())
 
                 if len(fnsyms) == 1:
                     function_list.append(VTableFunction(table_index, fnsyms))