diff options
-rw-r--r-- | lib/igt_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c index 7c727edc..26dd2789 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -760,6 +760,7 @@ static int common_init(int *argc, char **argv, list_subtests = true; break; case OPT_RUN_SUBTEST: + assert(optarg); if (!list_subtests) run_single_subtest = strdup(optarg); break; |