History

stdatomic: fix warnings

Dmitry Selyutin committed 5 years ago

Commit 806b3f91 parent 1ff86791 file · +2 −1Browse files

Unified · Split

tccgen.c+2−1
@@ -5767,7 +5767,7 @@ static void parse_atomic(int atok) · 5766 unmodified lines
57675767 size_t arg;
57685768 SValue *call;
57695769 CType atom = {};
5770− static const char const *templates[] = {
5770+ static const char *const templates[] = {
57715771 /*
57725772 * Each entry consists of callback and function template.
57735773 * The template represents argument types and return type.
@@ -5795,6 +5795,7 @@ static void parse_atomic(int atok) · 21 unmodified lines
57955795
57965796 next();
57975797
5798+ mode = 0; /* pacify compiler */
57985799 vpush_helper_func(atok);
57995800 call = vtop;
58005801

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t