• Don't use uninitialized variable: lockfname

    From Deucе@VERT to GitLab note in main/sbbs on Tuesday, November 19, 2024 22:19:13
    https://gitlab.synchro.net/main/sbbs/-/commit/6d7f85680177ba6fef1946f23f48354bf361068e#note_6028

    The variable lockfname is completely initialized as a pointer to a location on the stack... and you're not using the values of the members, just passing it as a pointer to a function that may very well be initializing the members for you. :smile:

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net