Skip to content

Commit 4111b3a

Browse files
nit
Signed-off-by: David Korczynski <[email protected]>
1 parent 4af4c82 commit 4111b3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/fuzz_introspector/frontends/frontend_cpp.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,10 @@ def _extract_information(self):
247247
logger.debug('Assigning name as signature')
248248
full_name = self.sig
249249

250-
#try:
250+
# try:
251251
# full_name = full_name + self.root.child_by_field_name(
252252
# 'declarator').child_by_field_name('declarator').child_by_field_name('declarator').text.decode()
253-
#except:
253+
# except:
254254
# try:
255255
# full_name = full_name + self.root.child_by_field_name(
256256
# 'declarator').child_by_field_name('declarator').text.decode()
@@ -486,10 +486,10 @@ def _process_callsites(self, stmt: Node,
486486
# the name of the constructor.
487487
cls = f'{var_type}::{var_type.rsplit("::")[-1]}'
488488
logger.debug('Trying to find class %s', cls)
489-
added = False
489+
# added = False
490490
if cls in project.all_functions:
491491
logger.debug('Adding callsite')
492-
added = True
492+
# added = True
493493
callsites.append(
494494
(cls, stmt.byte_range[1], stmt.start_point.row + 1))
495495
#if not added:

0 commit comments

Comments
 (0)