stdatomic: fix warnings

This commit is contained in:
Dmitry Selyutin 2021-03-17 00:29:45 +03:00
parent 1ff8679e79
commit 806b3f987e

View file

@ -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;