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:
parent
d74fc1b175
commit
dd67af4892
1 changed files with 2 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue