]> git.sur5r.net Git - openocd/commit
transport: fix LOG_DEBUG gaffe
authorsimon qian <simonqian.openocd@gmail.com>
Thu, 13 Jan 2011 07:25:22 +0000 (08:25 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 13 Jan 2011 07:28:29 +0000 (08:28 +0100)
commit8eb92c7e99c018c1cb48be76b0c9736b6c64cba9
tree9ee4f076a4ffc1a94c5a0bb9b141ef133382408c
parent8684bd1342e2a2e79118397df5e35a6b85e0b8d0
transport: fix LOG_DEBUG gaffe

LOG_DEBUG() arguments are only evaluated when DEBUG logging
is enabled, do not use arguments that have side effects
like foo++.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/transport.c