]> granicus.if.org Git - nethack/commit
build fix (trunk only)
authornethack.rankin <nethack.rankin>
Sun, 23 Nov 2003 09:47:34 +0000 (09:47 +0000)
committernethack.rankin <nethack.rankin>
Sun, 23 Nov 2003 09:47:34 +0000 (09:47 +0000)
commit17578658cec5a8d8890c07036be4e0b55e50941c
tree28ca17f8f76acdf3faf0c915deb22a31104ec7cf
parent21f3e1a3a67176c11918417cb811db4fcc0333e5
build fix (trunk only)

     DEC C warned about a problem and that caused make to quit.

|        idx = (++idx % 2);
|........^
|%CC-W-UNDEFVARMOD, In this statement, the expression "idx=(++idx%2)"
|modifies the variable "idx" more than once without an intervening
|sequence point.  This behavior is undefined.
src/botl.c