summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-08-26 10:51:08 -0700
committerRichard Linden <none@none>2013-08-26 10:51:08 -0700
commit662d6a17712fbba5cea0d9cf20f5a2f32e2dd537 (patch)
tree813e03b307d346210a58c4edcb3920b2dfddf855 /indra/llui
parentcf014375b8b408d58bd35deb4e58e4369fb3bf62 (diff)
added compile time warnings to use of deprecated llinfos, llwarns, etc.
Diffstat (limited to 'indra/llui')
-rwxr-xr-xindra/llui/llstatbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llstatbar.cpp b/indra/llui/llstatbar.cpp
index 3cd2e53001..725a835f7f 100755
--- a/indra/llui/llstatbar.cpp
+++ b/indra/llui/llstatbar.cpp
@@ -325,7 +325,7 @@ void LLStatBar::draw()
{
const LLTrace::TraceType<LLTrace::CountAccumulator>& count_stat = *mCountFloatp;
- unit_label = mUnitLabel.empty() ? (std::string(count_stat.getUnitLabel()) + "/s") : mUnitLabel;
+ unit_label = std::string(count_stat.getUnitLabel()) + "/s";
current = last_frame_recording.getPerSec(count_stat);
min = frame_recording.getPeriodMinPerSec(count_stat, num_frames);
max = frame_recording.getPeriodMaxPerSec(count_stat, num_frames);