Skip to content
  • Uri Lublin's avatar
    uxa: fix compiler warnings (initialize width, height, [xy]Dst_copy) · 2f4a2fe2
    Uri Lublin authored
    Some compiler warnings for example:
    uxa-glyphs.c:1045: warning: ‘width’ may be used uninitialized in this function
    uxa-glyphs.c:1045: warning: ‘height’ may be used uninitialized in this function
    uxa-render.c:1090: warning: ‘xDst_copy’ may be used uninitialized in this function
    uxa-render.c:1090: warning: ‘yDst_copy’ may be used uninitialized in this function
    
    I think these can never actually happen as the code protects use of
    those uninitialized variables, but I'd not "argue" with the compiler.
    2f4a2fe2