mirror of
git://repo.or.cz/tinycc.git
synced 2026-07-03 01:48:41 +08:00
tccgen.c: silence logical op warning
Some checks are pending
build and test / test-x86_64-linux (push) Waiting to run
build and test / test-x86_64-osx (push) Waiting to run
build and test / test-aarch64-osx (push) Waiting to run
build and test / test-x86_64-win32 (push) Waiting to run
build and test / test-i386-win32 (push) Waiting to run
build and test / test-armv7-linux (push) Waiting to run
build and test / test-aarch64-linux (push) Waiting to run
build and test / test-riscv64-linux (push) Waiting to run
Some checks are pending
build and test / test-x86_64-linux (push) Waiting to run
build and test / test-x86_64-osx (push) Waiting to run
build and test / test-aarch64-osx (push) Waiting to run
build and test / test-x86_64-win32 (push) Waiting to run
build and test / test-i386-win32 (push) Waiting to run
build and test / test-armv7-linux (push) Waiting to run
build and test / test-aarch64-linux (push) Waiting to run
build and test / test-riscv64-linux (push) Waiting to run
behavior is unchanged
This commit is contained in:
parent
8f23997ca7
commit
47106ce103
2
tccgen.c
2
tccgen.c
@ -1330,7 +1330,7 @@ static void move_ref_to_global(Sym *s)
|
|||||||
if (!(bt == VT_PTR
|
if (!(bt == VT_PTR
|
||||||
|| bt == VT_FUNC
|
|| bt == VT_FUNC
|
||||||
|| bt == VT_STRUCT
|
|| bt == VT_STRUCT
|
||||||
|| (IS_ENUM(s->type.t)) && (bt = VT_ENUM,1)))
|
|| ((IS_ENUM(s->type.t)) && (bt = VT_ENUM,1))))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (s = s->type.ref, n = 0; s; s = s->next) {
|
for (s = s->type.ref, n = 0; s; s = s->next) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user