1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Switch to c-style comments in a C file.

llvm-svn: 155726
This commit is contained in:
David Blaikie 2012-04-27 19:30:29 +00:00
parent 1bc0d2e1bc
commit 00a231aa73

View File

@ -65,9 +65,10 @@ int save_arguments(int argc, const char **argv) {
for (Length = 0, i = 0; i != (unsigned)argc; ++i)
Length += strlen(argv[i])+1;
// Defensively check for a zero length, even though this is unlikely
// to happen in practice. This avoids calling malloc() below with a
// size of 0.
/* Defensively check for a zero length, even though this is unlikely
* to happen in practice. This avoids calling malloc() below with a
* size of 0.
*/
if (Length == 0) {
SavedArgs = 0;
SavedArgsLength = 0;