libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jan 12 23:05:43 UTC 2022


 src/xlibi18n/lcUTF8.c |   36 ++++++++++++------------------------
 1 file changed, 12 insertions(+), 24 deletions(-)

New commits:
commit f15d2a01f75304bc2d9dac109d9a5a47d1ce28e0
Author: Benno Schulenberg <bensberg at telfort.nl>
Date:   Wed Jan 12 11:34:23 2022 +0100

    lcUTF8: remove two unneeded ifs and two elses that are never reached
    
    When there is a break at the end of the while loop, it means that the
    loop will finish the first time that _XlcGetCharSetWithSide() returns
    a non-NULL result, which means that the first '(last_charset == NULL)'
    will always be true and the else part is redundant.
    
    Fixes issue #46.
    
    Reported-by: Bhavi Dhingra
    
    Signed-off-by: Benno Schulenberg <bensberg at telfort.nl>



More information about the xorg-commit mailing list