Skip to content
Snippets Groups Projects
Commit 1736034c authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

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: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent 358e6295
No related branches found
No related tags found
1 merge request!57TMstate.c: Handle -Wduplicated-branches warnings
Pipeline #805415 passed