Recent

Author Topic: Polishing lazfreetype for Laz 2.2.0  (Read 1397 times)

Muso

  • Full Member
  • ***
  • Posts: 248
Polishing lazfreetype for Laz 2.2.0
« on: October 27, 2021, 03:20:50 am »
Since Laz 2.2.0 is close to be released, maybe lazfreetype could be polished to get less compiler warnings.

I don't know if they can be ignored, so I list here what I think deserves a look:

uninitialized variables:
Code: [Select]
easylazfreetype.pas(1789,21) Warning: function result variable of a managed type does not seem to be initialized
easylazfreetype.pas(2019,25) Hint: Local variable "value2" of a managed type does not seem to be initialized
lazfreetype.pas(1729,21) Hint: Function result variable of a managed type does not seem to be initialized

unused variables:
Code: [Select]
ttkern.pas(81,3) Note: Local variable "found" not used
ttkern.pas(50,3) Hint: Local const "SUBTABLE_FORMAT_TWO_DIMENSIONAL" is not used

Bart

  • Hero Member
  • *****
  • Posts: 4516
    • Bart en Mariska's Webstek
Re: Polishing lazfreetype for Laz 2.2.0
« Reply #1 on: October 27, 2021, 09:25:51 am »
Feel free to report this on the bugtracker, but only if you are prepared to also supply a patch for this (preferrably a patch per affected file).

Bart

 

TinyPortal © 2005-2018