summaryrefslogtreecommitdiff
path: root/src/Fl_Valuator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Valuator.cxx')
-rw-r--r--src/Fl_Valuator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Valuator.cxx b/src/Fl_Valuator.cxx
index e8431f10b..d08813651 100644
--- a/src/Fl_Valuator.cxx
+++ b/src/Fl_Valuator.cxx
@@ -125,7 +125,7 @@ int Fl_Valuator::format(char* buffer) {
// Figure out how many digits are required to correctly format the
// value.
int i, c = 0;
- char temp[32], *ptr;
+ char temp[32];
// output a number with many digits after the decimal point. This
// seems to be needed to get high precission
snprintf(temp, sizeof(temp), "%.12f", A/B);