stdatomic: fix warnings
This commit is contained in:
parent
1ff8679e79
commit
806b3f987e
1 changed files with 2 additions and 1 deletions
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…
Add table
Reference in a new issue