diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c index 6aeaf459a..e72e382e1 100644 --- a/src/modules-load/modules-load.c +++ b/src/modules-load/modules-load.c @@ -171,7 +171,7 @@ static int load_module(struct kmod_ctx *ctx, const char *m) { int main(int argc, char *argv[]) { int r = EXIT_FAILURE, k; - char **files, **fn, **i; + char **files = NULL, **fn, **i; struct kmod_ctx *ctx; if (argc > 1) {