You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (constauto& missingFileName: missingCacheEntries)
884
890
m_logger->LogErrorF("Secondary cache file '{}' is missing!", missingFileName);
885
891
886
892
// Verify that we have the required amount of sub-caches, if not alert the user.
887
-
if (expectedFileCount == 1)
888
-
m_logger->LogWarnF("Primary cache file '{}' has no sub-caches! You are likely opening a secondary cache file instead of a primary one.", m_primaryFileName);
893
+
if (!expectedFileCount)
894
+
m_logger->LogWarnF("Did not find a primary cache file for '{}'! You are likely opening a secondary cache file instead of a primary one.", m_primaryFileName);
889
895
elseif (totalEntries < expectedFileCount)
890
-
m_logger->LogWarnF("Insufficient cache files in dyld header ({}/{}), loading as partial shared cache...", totalEntries, expectedFileCount);
896
+
m_logger->LogWarnF("Insufficient cache files in dyld header ({}/{}), loading as partial shared cache...", totalEntries, *expectedFileCount);
0 commit comments