Kaydet (Commit) 1096ca46 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

more style fixes

Change-Id: Iadf157f3d2673047e2d81c74847b16d12478ca65
üst 5ebc2673
......@@ -66,14 +66,17 @@ char* strtok_wrapper(const char* aDelims, char** aStr)
char* ret = const_cast<char*>(strspnp_wrapper(aDelims, *aStr));
if (!*ret) {
if (!*ret)
{
*aStr = ret;
return nullptr;
}
char* i = ret;
do {
for (const char* d = aDelims; *d != '\0'; ++d) {
do
{
for (const char* d = aDelims; *d != '\0'; ++d)
{
if (*i == *d) {
*i = '\0';
*aStr = ++i;
......
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