commit eb064d3bc45f2b67d6c818cdb990b8911e9435eb
parent 3cc4f59637a0191ac73b18b1cf9f4180008ca435
Author: fundamental <mark.d.mccurry@gmail.com>
Date: Mon, 12 Nov 2012 11:12:51 -0500
Silencing warnings
- Fixes unused goto when NSM is disabled
- Fixes unused variable in padnote UI
Diffstat:
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/UI/PADnoteUI.fl b/src/UI/PADnoteUI.fl
@@ -94,8 +94,6 @@ fl_line(ox+lx/2,oy,ox+lx/2,oy+ly);
//draw the graph
fl_line_style(FL_SOLID);
-int old=0;
-
if (active) fl_color(180,210,240);
else fl_color(150,150,155);
@@ -117,8 +115,6 @@ for (int i=0;i<lx;i++){
// fl_vertex(ox+i-1,oy+ly-2-old);
// fl_vertex(ox+i,oy+ly-2-val);
// }
-
- old=val;
};
fl_vertex( ox + w(), oy + h() );
fl_end_polygon();
diff --git a/src/main.cpp b/src/main.cpp
@@ -530,7 +530,9 @@ int main(int argc, char *argv[])
}
#endif //LASH
+#if USE_NSM
done:
+#endif
Fl::wait(0.02f);
#else