• src/encode/utf8.c

    From rswindell@VERT to CVS commit on Saturday, July 06, 2019 08:03:37
    src/encode utf8.c 1.1 1.2
    Update of /cvsroot/sbbs/src/encode
    In directory cvs:/home/rswindell/sbbs/src/encode

    Modified Files:
    utf8.c
    Log Message:
    Address GCC warning.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, July 08, 2019 00:17:03
    src/encode utf8.c 1.3 1.4
    Update of /cvsroot/sbbs/src/encode
    In directory cvs:/home/rswindell/sbbs/src/encode

    Modified Files:
    utf8.c
    Log Message:
    Wow. First time I've seen replacing spaces with tabs fixes a GCC warning: utf8.c: In function 'utf8_getc':
    utf8.c:327:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
    } else
    ^~~~
    utf8.c:329:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
    if(val != NULL) {
    ^~




    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, July 08, 2019 04:30:32
    src/encode utf8.c 1.5 1.6
    Update of /cvsroot/sbbs/src/encode
    In directory cvs:/home/rswindell/sbbs/src/encode

    Modified Files:
    utf8.c
    Log Message:
    Address GCC warnings about signedness and staticness.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Monday, July 08, 2019 07:11:37
    src/encode utf8.c 1.6 1.7
    Update of /cvsroot/sbbs/src/encode
    In directory cvs:/home/rswindell/sbbs/src/encode

    Modified Files:
    utf8.c
    Log Message:
    Remove the unicode_is_zerowidth() function, it was moved to unicode.c already



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