Kaydet (Commit) 429a15cc authored tarafından Pedro Giffuni's avatar Pedro Giffuni Kaydeden (comit) Caolán McNamara

Drop redundant parenthesis.

Found with coccinelle:	http://coccinelle.lip6.fr/

Currently only applied to C code.

(cherry picked from commit aaf15142)

Change-Id: I7d43b024752ebd47e84e2e51028f8fd132410800
üst 28d0e255
......@@ -634,9 +634,9 @@ char *base_name(char *file)
if ( *p == '/' || *p == '\\') {
file = p + 1;
break;
};
}
p--;
};
}
return file;
}
......@@ -711,7 +711,7 @@ void convert_slashes(char *path)
for (ptr = (char*)path; *ptr; ++ptr)
if (*ptr == '\\')
*ptr = '/';
};
}
#else
(void)path;
#endif
......@@ -730,7 +730,7 @@ char* append_slash(char *path)
strcat(new_string, "\\");
else
strcat(new_string, "/");
};
}
return new_string;
}
......
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