summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_ops.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-09-23 08:47:53 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-09-28 09:06:57 -0400
commit4a6a5421113ab662a665c62ed6a24b61a5a36950 (patch)
tree037524123a5e1685d5e2942d1d5983896146a06a /src/db/sysdb_ops.c
parentdb2c71bd61b7e1610ea1a178ef05059ef952685a (diff)
downloadsssd-4a6a5421113ab662a665c62ed6a24b61a5a36950.tar.gz
sssd-4a6a5421113ab662a665c62ed6a24b61a5a36950.tar.xz
sssd-4a6a5421113ab662a665c62ed6a24b61a5a36950.zip
Multiline macro cleanup
This is mostly a cosmetic patch. The purpose of wrapping a multi-line macro in a do { } while(0) is to make the macro usable as a regular statement, not a compound statement. When the while(0) is terminated with a semicolon, the do { } while(0); block becomes a compound statement again.
Diffstat (limited to 'src/db/sysdb_ops.c')
-rw-r--r--src/db/sysdb_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index ee58342e3..522bbb086 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -72,7 +72,7 @@ static uint32_t get_attr_as_uint32(struct ldb_message *msg, const char *attr)
return l;
}
-#define ERROR_OUT(v, r, l) do { v = r; goto l; } while(0);
+#define ERROR_OUT(v, r, l) do { v = r; goto l; } while(0)
/* =Remove-Entry-From-Sysdb=============================================== */