Skip to content
Commit 611aa19f authored by Stefan Richter's avatar Stefan Richter
Browse files

ieee1394: safer definition of empty macros



A deactivated macro, defined as "#define foo(bar)", will result in
silent corruption if somebody forgets a semicolon after a call to foo.
Replace it by "#define foo(bar) do {} while (0)" which will reveal any
respective syntax errors.

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 4b60912e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment