maint: avoid a static analysis warning in expand-common
commit8e7bcdd8064c1e0a817c7effe4bae39741c258d3
authorPádraig Brady <P@draigBrady.com>
Mon, 20 Mar 2017 06:00:05 +0000 (19 23:00 -0700)
committerPádraig Brady <P@draigBrady.com>
Sun, 26 Mar 2017 22:20:26 +0000 (26 15:20 -0700)
tree035771804b32186b0ac20fc6b9739c4ff2f852e9
parent0839e6d8d9371b7301133c6a2799bab1c906d2e1
maint: avoid a static analysis warning in expand-common

* src/expand-common.c (next_file): We're dependent on calling
this function with NULL to initialize things appropriately.
So enforce this with assert(), which avoids a warning from
clang-anaylzer.
src/expand-common.c