Commit 06501822 authored by Francois Perrad's avatar Francois Perrad Committed by Matt Johnston
Browse files

add the idiomatic do/while(0) in the macro SCREWUP

parent 3e20c442
......@@ -841,7 +841,7 @@ sink(int argc, char **argv)
#define atime tv[0]
#define mtime tv[1]
#define SCREWUP(str) { why = str; goto screwup; }
#define SCREWUP(str) do { why = str; goto screwup; } while (0)
setimes = targisdir = 0;
mask = umask(0);
......
Supports Markdown
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