mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #937 Resolved clazy warnings: miscellaneous.
This commit is contained in:
@@ -15,6 +15,7 @@ namespace BlackMisc
|
||||
{
|
||||
CTestBase::CTestBase(int argc, const char *const *argv)
|
||||
{
|
||||
m_arguments.reserve(argc);
|
||||
for (int i = 0; i < argc; ++i)
|
||||
{
|
||||
m_arguments.append(argv[i]);
|
||||
|
||||
@@ -344,6 +344,7 @@ namespace BlackMisc
|
||||
{
|
||||
if (m_verbose) out() << "Pid: " << CTestService::getPid() << " getObjectPaths" << endl;
|
||||
QList<QDBusObjectPath> paths;
|
||||
paths.reserve(n);
|
||||
for (int i = 0; i < n; i++)
|
||||
{
|
||||
paths.append(QDBusObjectPath(ObjectPath()));
|
||||
|
||||
Reference in New Issue
Block a user