summaryrefslogtreecommitdiff
path: root/gcc/graphite-dependences.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-09-30 21:19:26 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-09-30 21:19:26 +0000
commit1635d7b0125b17462d8f79d2a0b6132e2f55554b (patch)
treed63ed854d81f4380c953e818e3c7d3694710aa05 /gcc/graphite-dependences.c
parent3a7cd43867b46d493106b680b5505e90dc47fbed (diff)
downloadgcc-1635d7b0125b17462d8f79d2a0b6132e2f55554b.tar.gz
Avoid set but not used warning.
2010-08-24 Sebastian Pop <sebastian.pop@amd.com> * graphite-dependences.c (dot_deps): Avoid set but not used warning. (dot_deps_stmt): Same. * graphite-poly.c (dot_lst): Same. From-SVN: r164794
Diffstat (limited to 'gcc/graphite-dependences.c')
-rw-r--r--gcc/graphite-dependences.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c
index 8c7a642a7ea..4f167fbdcb4 100644
--- a/gcc/graphite-dependences.c
+++ b/gcc/graphite-dependences.c
@@ -956,14 +956,13 @@ dot_deps (scop_p scop)
/* When debugging, enable the following code. This cannot be used
in production compilers because it calls "system". */
#if 0
- int x;
FILE *stream = fopen ("/tmp/scopdeps.dot", "w");
gcc_assert (stream);
dot_deps_1 (stream, scop);
fclose (stream);
- x = system ("dotty /tmp/scopdeps.dot &");
+ system ("dotty /tmp/scopdeps.dot &");
#else
dot_deps_1 (stderr, scop);
#endif
@@ -977,14 +976,13 @@ dot_deps_stmt (scop_p scop)
/* When debugging, enable the following code. This cannot be used
in production compilers because it calls "system". */
#if 0
- int x;
FILE *stream = fopen ("/tmp/scopdeps.dot", "w");
gcc_assert (stream);
dot_deps_stmt_1 (stream, scop);
fclose (stream);
- x = system ("dotty /tmp/scopdeps.dot &");
+ system ("dotty /tmp/scopdeps.dot &");
#else
dot_deps_stmt_1 (stderr, scop);
#endif