diff options
author | midipix <writeonce@midipix.org> | 2015-12-23 21:50:40 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 00:22:31 -0500 |
commit | cfa298f7f4637201610624b86d03dd209de0034a (patch) | |
tree | 318e35adfd448c3b63cf1096edb84fe565f7684e | |
parent | 81f4626daa781cb9d1b9300765babe5ff212923e (diff) | |
download | mdso-cfa298f7f4637201610624b86d03dd209de0034a.tar.bz2 mdso-cfa298f7f4637201610624b86d03dd209de0034a.tar.xz |
front-end utility: do not perform driver-level actions when there are no units.
-rw-r--r-- | src/mdso.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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); } |