TS-1475 - fix clang complaint for sync_cache_dir_on_shutdown
diff --git a/iocore/cache/CacheDir.cc b/iocore/cache/CacheDir.cc
index 13a3d34..fc804e8 100644
--- a/iocore/cache/CacheDir.cc
+++ b/iocore/cache/CacheDir.cc
@@ -906,6 +906,7 @@
       continue;
     }
     size_t dirlen = vol_dirlen(d);
+    ink_assert(dirlen > 0); // make clang happy - if not > 0 the vol is seriously messed up.
     if (!d->header->dirty && !d->dir_sync_in_progress) {
       Debug("cache_dir_sync", "Dir %s: ignoring -- not dirty", d->hash_id);
       continue;