1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

addr2line.c: fix -Wextra-semi

and ignore only -Wgnu-empty-initializer.
https://travis-ci.org/ruby/ruby/jobs/477867392

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2019-01-10 15:42:44 +00:00
parent d74fc1b175
commit dd67af4892

View file

@ -9,6 +9,7 @@
**********************************************************************/
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wgnu-empty-initializer"
#pragma clang diagnostic ignored "-Wgcc-compat"
#endif
@ -785,7 +786,7 @@ typedef struct {
char *pend;
char *q0;
char *q;
int format; /* 4 or 8 */;
int format; // 4 or 8
uint8_t address_size;
int level;
char *abbrev_table[ABBREV_TABLE_SIZE];