diff options
| author | Christopher Li <sparse@chrisli.org> | 2011-05-31 04:16:32 -0700 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2011-05-31 04:19:46 -0700 |
| commit | 271cb1a33b9d1354ddca75d5c670e98dc4943092 (patch) | |
| tree | 87da91c825b44e84254a7267b5c4b69f166a8dad /graph.c | |
| parent | d8b20ec2324b09b164b298fbab6b4265b6886929 (diff) | |
| download | sparse-dev-271cb1a33b9d1354ddca75d5c670e98dc4943092.tar.gz | |
Remove set but not used variable
The new gcc complain about set but not used
variable. This should make the new gcc happy.
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'graph.c')
| -rw-r--r-- | graph.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -104,10 +104,8 @@ static void graph_calls(struct entrypoint *ep, int internal) struct basic_block *bb; struct instruction *insn; - const char *fname, *sname; - - fname = show_ident(ep->name->ident); - sname = stream_name(ep->entry->bb->pos.stream); + show_ident(ep->name->ident); + stream_name(ep->entry->bb->pos.stream); FOR_EACH_PTR(ep->bbs, bb) { if (!bb) |
