Opened 6 years ago

Closed 6 years ago

#61 closed defect (fixed)

Missing warnings on unused local definitions for components

Reported by: phdmakk Owned by:
Priority: major Milestone: v2.0.0 Series
Component: T3Q Version: 2.0
Keywords: Cc:

Description

v1 reports when a port is not used, e.g. when checking IMS_IRAT_Testsuite

ttcn​\Common\IMS\IMS_Component.ttcn: 152: WARNING: Code Style: Local definition for "OtherPDN" in definition of "IMS_PTC" is never used! (6.11, checkNoUnusedLocalDefinitions)

v2 does not seem to do so.

Change History (1)

comment:1 Changed 6 years ago by phdmakk

  • Resolution set to fixed
  • Status changed from new to closed

All local definitions for a component were not checked for some reason. In addition, local definitions were only checked within the same module. Adjusted implementation to check component definitions across modules where other local definitions are still only checked within the same module.

Note: See TracTickets for help on using tickets.