commit 8a8e9dbbd2c0129ce966cc5d37a87684de508834
parent 2ef4b50aba9db5527933415684e53b0dde5de7c9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 8 Oct 2025 16:56:11 +0200
Add a missing break , even though it is unnecessary
There is no advantage to leaving this obvious error as it is. While it
had no impact on the result, it did detract from the readability of the
code, as it raised questions in the reader's mind about this omission.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/smeteo_main.c b/src/smeteo_main.c
@@ -60,7 +60,7 @@ args_init(struct args* args, int argc, char** argv)
args->quit = 1;
goto exit;
case 'v': args->verbose += (args->verbose < 3); break;
- default: res = RES_BAD_ARG;
+ default: res = RES_BAD_ARG; break;
}
if(res != RES_OK) goto error;
}