uci: Fix extra semicolons warnings
[project/uci.git] / uci_internal.h
index 61f2da2ab337bc89cf9278f3cb26171d686428b1..f00b394972fad870c34e0e445b239b2c2e228be1 100644 (file)
@@ -215,7 +215,7 @@ struct uci_backend _var = {         \
                ctx->err = __val;       \
                memcpy(ctx->trap, __old_trap, sizeof(ctx->trap)); \
                goto handler;           \
-       }
+       } while(0)
 #define UCI_TRAP_RESTORE(ctx)          \
        memcpy(ctx->trap, __old_trap, sizeof(ctx->trap)); \
 } while(0)