[niepce] fwk: Remove DBG_ASSERT that trigger warnings



commit 662a806ca973928d962c254a4e4f5f0c78e2bed6
Author: Hubert Figuière <hub figuiere net>
Date:   Sat Mar 7 17:02:52 2020 -0500

    fwk: Remove DBG_ASSERT that trigger warnings

 src/fwk/base/propertybag.cpp | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/fwk/base/propertybag.cpp b/src/fwk/base/propertybag.cpp
index 9287244..d32b77b 100644
--- a/src/fwk/base/propertybag.cpp
+++ b/src/fwk/base/propertybag.cpp
@@ -99,8 +99,6 @@ PropertyValuePtr property_bag_value(const PropertyBagPtr& bag, PropertyIndex idx
 bool set_value_for_property(PropertyBag& bag, PropertyIndex idx,
                             const PropertyValue & value)
 {
-    DBG_ASSERT(&bag, "bag is NULL");
-    DBG_ASSERT(&value, "value is NULL");
     return ffi::fwk_property_bag_set_value(&bag, idx, &value);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]