On Linux initialise tt_strings as () rather than (NULL)
authorPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 23:38:55 +0000 (23:38 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Sun, 11 Mar 2012 23:38:55 +0000 (23:38 +0000)
cde/lib/tt/lib/mp/mp_message.C

index c353ce940a1acdee5c78fceefe297f04c0f5edef..34e5b4a0df136ed6e086ae13446fc5ab3f590f72 100644 (file)
@@ -118,9 +118,15 @@ base_constructor()
 
 _Tt_message::
 _Tt_message()
+#if defined(linux)
+: _pattern_id(), _object(), _file(), _op(),
+  _otype(), _sender_ptype(), _handler_ptype(),
+  _api_id(), _status_string()
+#else
 : _pattern_id(NULL), _object(NULL), _file(NULL), _op(NULL),
   _otype(NULL), _sender_ptype(NULL), _handler_ptype(NULL),
   _api_id(NULL), _status_string(NULL)
+#endif
 {
        base_constructor();
 }