modules-load: initalize files to null

This commit is contained in:
Václav Pavlín 2012-09-21 15:03:28 +02:00 committed by Lennart Poettering
parent f2cc3753ce
commit d42c44fb6d

View File

@ -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) {