]> granicus.if.org Git - graphviz/commit
fix typo in comparison in pathscross()
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 24 Jan 2021 02:21:01 +0000 (18:21 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 30 Jan 2021 19:47:32 +0000 (11:47 -0800)
commit2d51a4a36851051368aaf821395abb9784d6a746
tree95d2cb6860331170c019a2ecfc4fbf7900958826
parentebcc790c09e2f189618ca3ca8472c6e4f0286819
fix typo in comparison in pathscross()

This was identified by GCC -Wlogical-op:

  dotsplines.c: In function ‘pathscross’:
  dotsplines.c:2498:32: warning: logical ‘and’ of equal expressions [-Wlogical-op]
       if ((ND_out(n0).size != 1) && (ND_out(n0).size != 1))
                                  ^~

Changes in this commit are the fix suggested by Stephen. Fixes #1926.
CHANGELOG.md
lib/dotgen/dotsplines.c