diff options
author | Tristan Sloughter <[email protected]> | 2013-10-15 12:01:32 -0500 |
---|---|---|
committer | Tristan Sloughter <[email protected]> | 2013-10-15 12:01:32 -0500 |
commit | 4702fd6e7a957d8161e434baa20038b898f2e52f (patch) | |
tree | d415af78f3256588d71f41f400baa1d5f8a7c3eb | |
parent | 750c3df605de8e7dc0f4d809e2fe7aa09827eee1 (diff) | |
download | relx-4702fd6e7a957d8161e434baa20038b898f2e52f.tar.gz relx-4702fd6e7a957d8161e434baa20038b898f2e52f.tar.bz2 relx-4702fd6e7a957d8161e434baa20038b898f2e52f.zip |
ignore empty list of overlay vars to fix unneeded warning
-rw-r--r-- | src/rlx_prv_overlay.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rlx_prv_overlay.erl b/src/rlx_prv_overlay.erl index a749ce5..a7a484f 100644 --- a/src/rlx_prv_overlay.erl +++ b/src/rlx_prv_overlay.erl @@ -105,6 +105,8 @@ get_overlay_vars_from_file(State, OverlayVars) -> case rlx_state:get(State, overlay_vars, undefined) of undefined -> do_overlay(State, OverlayVars); + [] -> + do_overlay(State, OverlayVars); [H | _]=FileNames when is_list(H) -> read_overlay_vars(State, OverlayVars, FileNames); FileName when is_list(FileName) -> |