From 9d2fd9c0954c76c258553197af36c4e966a3e8ea Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 11 Mar 2015 10:24:28 +0100 Subject: [PATCH] Allow list of lv2 folders to be empty --- source/utils/CarlaLv2Utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils/CarlaLv2Utils.hpp b/source/utils/CarlaLv2Utils.hpp index 9bb9a7331..d24bffb74 100644 --- a/source/utils/CarlaLv2Utils.hpp +++ b/source/utils/CarlaLv2Utils.hpp @@ -374,7 +374,7 @@ public: void initIfNeeded(const char* const LV2_PATH) { - CARLA_SAFE_ASSERT_RETURN(LV2_PATH != nullptr && LV2_PATH[0] != '\0',); + CARLA_SAFE_ASSERT_RETURN(LV2_PATH != nullptr,); if (! needsInit) return;