Skip to content
Snippets Groups Projects
Commit 4a5d2950 authored by David Blaikie's avatar David Blaikie
Browse files

Switch to c-style comments in a C file.

llvm-svn: 155726
parent dae3349a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment