diff options
author | 2004-05-24 15:28:59 -0700 | |
---|---|---|
committer | 2005-04-07 21:01:44 -0700 | |
commit | 2e308d17a4dac6d66433c9a4e419afc5e7e29a27 (patch) | |
tree | a304d9c43e595ce74a4ac5fe2ecb278ed38a8314 /test-linearize.c | |
parent | Fix up modifier parsing, don't leave stale modifier (diff) | |
download | sparse-2e308d17a4dac6d66433c9a4e419afc5e7e29a27.tar.gz sparse-2e308d17a4dac6d66433c9a4e419afc5e7e29a27.tar.bz2 sparse-2e308d17a4dac6d66433c9a4e419afc5e7e29a27.zip |
Fix test-linearize with symbols that have no code to show.
Diffstat (limited to 'test-linearize.c')
-rw-r--r-- | test-linearize.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test-linearize.c b/test-linearize.c index 3b5459e..549d014 100644 --- a/test-linearize.c +++ b/test-linearize.c @@ -29,7 +29,8 @@ static void clean_up_symbol(struct symbol *sym, void *_parent, int flags) evaluate_symbol(sym); expand_symbol(sym); ep = linearize_symbol(sym); - show_entry(ep); + if (ep) + show_entry(ep); } int main(int argc, char **argv) |