diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-30 19:45:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:03:51 -0700 |
commit | f4dc67f56d40d7373841ddaf01b862ec2bc140a1 (patch) | |
tree | dcd066a7f7086bfd05e212397a456d385c305cff /symbol.c | |
parent | Use 'bad_type' instead of NULL when something bad happens (diff) | |
download | sparse-f4dc67f56d40d7373841ddaf01b862ec2bc140a1.tar.gz sparse-f4dc67f56d40d7373841ddaf01b862ec2bc140a1.tar.bz2 sparse-f4dc67f56d40d7373841ddaf01b862ec2bc140a1.zip |
Make sure to examine restricted types too.
Diffstat (limited to 'symbol.c')
-rw-r--r-- | symbol.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -389,6 +389,9 @@ struct symbol *examine_symbol_type(struct symbol * sym) case SYM_UNINITIALIZED: warning(sym->pos, "ctype on uninitialized symbol %p", sym); return NULL; + case SYM_RESTRICT: + examine_base_type(sym); + return sym; default: warning(sym->pos, "Examining unknown symbol type %d", sym->type); break; |