diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/delivery_install.c | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/src/delivery_install.c b/src/delivery_install.c index a3faae4..ae31cb9 100644 --- a/src/delivery_install.c +++ b/src/delivery_install.c @@ -1,9 +1,7 @@  #include "delivery.h"  static struct Test *requirement_from_test(struct Delivery *ctx, const char *name) { -    struct Test *result; - -    result = NULL; +    struct Test *result = NULL;      for (size_t i = 0; i < sizeof(ctx->tests) / sizeof(ctx->tests[0]); i++) {          if (ctx->tests[i].name && !strcmp(name, ctx->tests[i].name)) {              result = &ctx->tests[i]; | 
