[lvm-devel] [PATCH] Remove redundant (potentially harmful) semicolon

Marian Csontos mcsontos at redhat.com
Thu Aug 2 10:24:57 UTC 2012


---
 libdm/libdm-config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libdm/libdm-config.c b/libdm/libdm-config.c
index 8457497..2423f9b 100644
--- a/libdm/libdm-config.c
+++ b/libdm/libdm-config.c
@@ -77,7 +77,7 @@ static const int sep = '/';
 		  p->tb - p->fb + 1, p->line); \
       return 0;\
    } \
-} while(0);
+} while(0)
 
 static int _tok_match(const char *str, const char *b, const char *e)
 {
-- 
1.7.1




More information about the lvm-devel mailing list