diff --git a/src/ebusd/mqtthandler.cpp b/src/ebusd/mqtthandler.cpp index 873e7e958..e3b9bba6e 100755 --- a/src/ebusd/mqtthandler.cpp +++ b/src/ebusd/mqtthandler.cpp @@ -91,7 +91,7 @@ static vector g_topicStrs; /** the MQTT topic field parts. */ static vector g_topicFields; static bool g_retain = false; //!< whether to retail all topics -static OutputFormat g_publishFormat = 0; //!< the OutputFormat for publishing messages +static OutputFormat g_publishFormat = OF_NONE; //!< the OutputFormat for publishing messages #if (LIBMOSQUITTO_VERSION_NUMBER >= 1003001) static bool g_logFromLib = false; //!< log library events #endif