Fix: BT_ASSERT_PRE_DEV(): use `##__VA_ARGS`, not `#__VA_ARGS`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 15 Jul 2019 21:10:17 +0000 (17:10 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 18 Jul 2019 13:42:13 +0000 (09:42 -0400)
commit81e7997ec0b99a3085524e6a05457a45184d7636
tree5247aa2bed31ede868917923a3a242fb430f0beb
parentce95fb2680f08176955eb7cf2fd7cd7b6ad2fbfd
Fix: BT_ASSERT_PRE_DEV(): use `##__VA_ARGS`, not `#__VA_ARGS`

`#__VA_ARGS` stringifies the arguments: that's bad.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ifa4c3494d3d082fd28aad72af726319f1578df2e
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1713
Tested-by: jenkins <jenkins@lttng.org>
src/lib/assert-pre.h
This page took 0.024445 seconds and 4 git commands to generate.