Build: Reduce warnings.
This commit is contained in:
parent
236eb0d325
commit
30b697ee63
2 changed files with 10 additions and 9 deletions
3
glslang/MachineIndependent/preprocessor/Pp.cpp
Normal file → Executable file
3
glslang/MachineIndependent/preprocessor/Pp.cpp
Normal file → Executable file
|
|
@ -1121,7 +1121,8 @@ int TPpContext::tZeroInput::scan(TPpToken* ppToken)
|
|||
if (done)
|
||||
return EndOfInput;
|
||||
|
||||
strcpy(ppToken->name, "0");
|
||||
ppToken->name[0] = '0';
|
||||
ppToken->name[1] = 0;
|
||||
ppToken->ival = 0;
|
||||
ppToken->space = false;
|
||||
done = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue