mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Switch to c-style comments in a C file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
447989cb68
commit
ca63acdc5d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user