[Commotion-admin] [commotiond] make CHECK macro calls safer for multistatement operation; dont disable ... (#102)

Dan Staples notifications at github.com
Sat May 10 10:21:40 EDT 2014


...DEBUG macros on non-OpenWRT platforms

this allows CHECK to be safely called in situations like this, which would previously throw errors:

    if (foo)
      CHECK(bar, "baz");
    else
      CHECK(bar, "baz");
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/commotiond debug-check-fixes

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotiond/pull/102

-- Commit Summary --

  * make CHECK macro calls safer for multistatement operation; dont disable DEBUG macros on non-OpenWRT platforms

-- File Changes --

    M src/debug.h (6)

-- Patch Links --

https://github.com/opentechinstitute/commotiond/pull/102.patch
https://github.com/opentechinstitute/commotiond/pull/102.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotiond/pull/102
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140510/a14f8f64/attachment.html>


More information about the Commotion-admin mailing list