libXt: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Feb 10 18:27:59 UTC 2023


 src/TMstate.c |   24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

New commits:
commit 1736034c39682927830c0660a0b9587f19e53e4e
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Feb 3 11:35:21 2023 -0800

    TMstate.c: Handle -Wduplicated-branches warnings
    
    Gets rid of these messages from gcc:
    
    TMstate.c: In function ‘GetBranchHead’:
    TMstate.c:128:12: warning: this condition has identical branches
      [-Wduplicated-branches]
             if (parseTree->branchHeadTblSize == 0)
                ^
    TMstate.c: In function ‘_XtGetQuarkIndex’:
    TMstate.c:183:16: warning: this condition has identical branches
      [-Wduplicated-branches]
                 if (parseTree->quarkTblSize == 0)
                    ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list