diff --git a/lib/check.h b/lib/check.h index 260be91ac..968051750 100644 --- a/lib/check.h +++ b/lib/check.h @@ -32,12 +32,15 @@ #include /** - * Use this macro Cppcheck data can be wrong and you need a to check if that happens to avoid crash/hang + * Cppcheck data can be wrong and you need a to check if that happens to avoid crash/hang * Using this macro we can make sure that released binaries don't crash/hang but the problem is not hidden * in debug builds. */ -//#define CHECK_WRONG_DATA(X) (X) // Release (don't crash/hang) +#ifndef HIDE_WRONG_DATA #define CHECK_WRONG_DATA(X) (1) // Debug (crash/hang) +#else +#define CHECK_WRONG_DATA(X) (X) // Release (don't crash/hang) +#endif namespace tinyxml2 { class XMLElement; diff --git a/lib/settings.h b/lib/settings.h index 81cae42e7..6e167dcff 100644 --- a/lib/settings.h +++ b/lib/settings.h @@ -132,10 +132,10 @@ public: /** @brief Paths used as base for conversion to relative paths. */ std::vector basePaths; - /** @brief write results (--output-file=) */ + /** @brief write results (--output-file=<file>) */ std::string outputFile; - /** @brief plist output (--plist-output=) */ + /** @brief plist output (--plist-output=<dir>) */ std::string plistOutput; /** @brief write XML results (--xml) */