Unused variables: Struct declared within a method has its guts removed
DFRefactor removed the guts of a struct
Struct tSaleType String SaleType Integer Trx Number Amount Integer NegTrx Number NegAmount String CrSaleType String CashDrwSum String Group String Blocked String TrxFound End_Struct tSaleType aSaleType String sFileName sCurrency sSalesType sCcy sCrSaleType sGroup sPathWrkKirk1 Date dDate
Struct tSaleType End_Struct tSaleType aSaleType String sFileName sSalesType sCcy sCrSaleType sGroup sPathWrkKirk1 Date dDate
the struct definition was actually within a procedure
The answer is:
Don't declare structs within a method, but logging it as an issue.