From c0d0a17c9d7c83d0c78a00c29d82247f19c55447 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 7 May 2018 20:11:04 +0200 Subject: [PATCH] silence the clang warning about 'y=y' --- hypgraph.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index cebefd4b..af6951fc 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -304,7 +304,7 @@ void applymodel(hyperpoint H, hyperpoint& ret) { x *= 2; y *= 2; break; case gcEuclid: - y = y; + // y = y; y *= 2; x *= 2; break; } @@ -517,7 +517,7 @@ void drawrec(cell *c, const transmatrix& V) { void drawrec(cell *c, const transmatrix& V, gp::loc at, int dir, int maindir) { if(dodrawcell(c)) { -/* auto li = get_local_info(c); + /* auto li = get_local_info(c); if(fix6(dir) != fix6(li.total_dir)) printf("totaldir %d/%d\n", dir, li.total_dir); if(at != li.relative) printf("at %s/%s\n", disp(at), disp(li.relative)); if(maindir != li.last_dir) printf("ld %d/%d\n", maindir, li.last_dir); */