From cfa298f7f4637201610624b86d03dd209de0034a Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 11 2016 05:22:31 +0000 Subject: front-end utility: do not perform driver-level actions when there are no units. --- diff --git a/src/mdso.c b/src/mdso.c index 4c0b667..fdce786 100644 --- a/src/mdso.c +++ b/src/mdso.c @@ -60,9 +60,11 @@ int mdso_main(int argc, const char ** argv, const char ** envp) } } - dctx->status = mdso_create_implib_sources(dctx); - dctx->nerrors += !!dctx->status; - ret += dctx->nerrors; + if (*dctx->units) { + dctx->status = mdso_create_implib_sources(dctx); + dctx->nerrors += !!dctx->status; + ret += dctx->nerrors; + } return mdso_exit(dctx,ret); }