[openrtm-commit:02425] r2942 - branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 2月 11日 (土) 11:07:00 JST
Author: n-ando
Date: 2017-02-11 11:07:00 +0900 (Sat, 11 Feb 2017)
New Revision: 2942
Modified:
branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Factory.cpp
branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.cpp
Log:
[compat,->DEV_IQ_2016] if-statement brackets have been added.
Modified: branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Factory.cpp
===================================================================
--- branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Factory.cpp 2017-02-10 11:07:26 UTC (rev 2941)
+++ branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Factory.cpp 2017-02-11 02:07:00 UTC (rev 2942)
@@ -102,7 +102,7 @@
try
{
RTObject_impl* rtobj(m_New(mgr));
- if (rtobj == 0) return NULL;
+ if (rtobj == 0) { return NULL; }
++m_Number;
rtobj->setProperties(this->profile());
Modified: branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.cpp
===================================================================
--- branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.cpp 2017-02-10 11:07:26 UTC (rev 2941)
+++ branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.cpp 2017-02-11 02:07:00 UTC (rev 2942)
@@ -955,7 +955,7 @@
std::string ec_id = std::string();
coil::Properties ec_prop = coil::Properties();
- if (!procContextArgs(ec_args, ec_id, ec_prop)) return NULL;
+ if (!procContextArgs(ec_args, ec_id, ec_prop)) { return NULL; }
ECFactoryBase* factory(m_ecfactory.find(ec_id.c_str()));
if (factory == NULL)
More information about the openrtm-commit
mailing list