mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-30 00:28:42 +08:00
stdatomic: fix warnings
This commit is contained in:
parent
1ff8679e79
commit
806b3f987e
3
tccgen.c
3
tccgen.c
@ -5767,7 +5767,7 @@ static void parse_atomic(int atok)
|
|||||||
size_t arg;
|
size_t arg;
|
||||||
SValue *call;
|
SValue *call;
|
||||||
CType atom = {};
|
CType atom = {};
|
||||||
static const char const *templates[] = {
|
static const char *const templates[] = {
|
||||||
/*
|
/*
|
||||||
* Each entry consists of callback and function template.
|
* Each entry consists of callback and function template.
|
||||||
* The template represents argument types and return type.
|
* The template represents argument types and return type.
|
||||||
@ -5795,6 +5795,7 @@ static void parse_atomic(int atok)
|
|||||||
|
|
||||||
next();
|
next();
|
||||||
|
|
||||||
|
mode = 0; /* pacify compiler */
|
||||||
vpush_helper_func(atok);
|
vpush_helper_func(atok);
|
||||||
call = vtop;
|
call = vtop;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user