]> git.sur5r.net Git - openldap/commitdiff
Remove ";" after do{...}while(0) macros
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 30 Jul 2005 23:36:38 +0000 (23:36 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 30 Jul 2005 23:36:38 +0000 (23:36 +0000)
servers/slapd/back-bdb/back-bdb.h

index 10cc3e349fe7fdf60d7a47cee0d17155e4fb8e0b..e28d7c189ba99e4c2b20a1c776d2ed79de9f5e75 100644 (file)
@@ -269,7 +269,7 @@ struct bdb_op_info {
                for ( i0=sizeof(ID)-1; i0>=0; i0-- ) {  \
                        _p[i0] = tmp & 0xff; tmp >>= 8; \
                } \
-       } while(0);
+       } while(0)
 
 /* Copy a pointer "src" to a pointer "dst" from big-endian to native order */
 #define BDB_DISK2ID( src, dst ) \
@@ -278,7 +278,7 @@ struct bdb_op_info {
                for ( i0=0; i0<sizeof(ID); i0++ ) {     \
                        tmp <<= 8; tmp |= *_p++;        \
                } *(dst) = tmp; \
-       } while (0);
+       } while (0)
 
 LDAP_END_DECL