Commit 537404d9 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Fix NBN code scanning issues in shared TRK code.

parent 40314f3a
......@@ -348,7 +348,7 @@ QByteArray JsonValue::toString(bool multiline, int indent) const
break;
case String:
if (!m_name.isEmpty())
result += m_name + "=";
result += m_name + '=';
result += '"' + escapeCString(m_data) + '"';
break;
case Number:
......@@ -368,24 +368,24 @@ QByteArray JsonValue::toString(bool multiline, int indent) const
if (multiline) {
result += "{\n";
dumpChildren(&result, multiline, indent + 1);
result += '\n' + ind(indent) + "}";
result += '\n' + ind(indent) + '}';
} else {
result += "{";
result += '{';
dumpChildren(&result, multiline, indent + 1);
result += "}";
result += '}';
}
break;
case Array:
if (!m_name.isEmpty())
result += m_name + "=";
result += m_name + '=';
if (multiline) {
result += "[\n";
dumpChildren(&result, multiline, indent + 1);
result += '\n' + ind(indent) + "]";
result += '\n' + ind(indent) + ']';
} else {
result += "[";
result += '[';
dumpChildren(&result, multiline, indent + 1);
result += "]";
result += ']';
}
break;
}
......
......@@ -53,7 +53,7 @@ struct Breakpoint;
/* Command error handling in TCF:
* 1) 'Severe' errors (JSON format, parameter format): Trk emits a
* nonstandard message (\3\2 error paramaters) and closes the connection.
* nonstandard message (\3\2 error parameters) and closes the connection.
* 2) Protocol errors: 'N' without error message is returned.
* 3) Errors in command execution: 'R' with a TCF error hash is returned
* (see TcfTrkCommandError). */
......
......@@ -111,7 +111,7 @@ struct SYMBIANUTILS_EXPORT RunControlContext {
QByteArray parentId; // Parent process id of a thread.
};
// Module load information occuring with 'RunControl contextSuspended' events
// Module load information occurring with 'RunControl contextSuspended' events
struct SYMBIANUTILS_EXPORT ModuleLoadEventInfo {
ModuleLoadEventInfo();
void clear();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment