Skip to content
  • Deucе's avatar
    09b21573
    Attempt to silence false positive warning. · 09b21573
    Deucе authored
    The warning suggests that x1 and y1 may be uninitialized in the i > 0
    block, but that's not really possible...
    
    It's too bad the warning doesn't clarify.  It's also weird that the
    warning was in the draw_line() call and not in the lines above that
    (incorrectly) compared them with -1.
    
    Fix that check while we're here.
    09b21573
    Attempt to silence false positive warning.
    Deucе authored
    The warning suggests that x1 and y1 may be uninitialized in the i > 0
    block, but that's not really possible...
    
    It's too bad the warning doesn't clarify.  It's also weird that the
    warning was in the draw_line() call and not in the lines above that
    (incorrectly) compared them with -1.
    
    Fix that check while we're here.
Loading