Menu

#476 disk.c warnings at compile time

future
open
nobody
disk (15) dsk (7)
5
2023-05-18
2020-09-07
No

We have two 'may be used uninitialized in this function..' warning at compile time.

Related

Bugs: #450

Discussion

  • Gergely Szasz

    Gergely Szasz - 2020-09-07

    This patch fix warnings and some other minor things in disk.c:
    1. fix comments around CPC_ISSUE_4, CPC_ISSUE_5
    2. fix tltbl[] - may be used unitialized... warn
    3. fix seclen - may be used unitialized... warn
    4. fix some indentation in source
    5. add 'pretty print' warning for "... BPT too high"

    Related to [bugs:#450]

    At now (if all patch from bugs related to bug 450 applied) all disk images (i have) -- mentioned in [bugs:#454] open without error.

    F-16 Combat Pilot (1991)(Digital Integration)(+3).dsk loads and starts.
    Castle Master (1990)(Incentive)(+3)[a].dsk loads and starts.
    Ghouls 'n' Ghosts (1989)(U.S. Gold)(+3).dsk not loading properly

     

    Related

    Bugs: #450
    Bugs: #454


    Last edit: Gergely Szasz 2020-09-07
  • Arki55

    Arki55 - 2023-05-18

    I checked the patch, but nothing inside can be applied to the current form of file disk.c.
    Neither I can see any warnings related to this in Fuse when building.

    This looks to be outdated and obsolete.

     

Log in to post a comment.