diff options
author | David Walter Seikel | 2013-04-08 04:55:18 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-04-08 04:55:18 +1000 |
commit | e5cc2e99e6295aabe401f9c229a39574e0d9bf38 (patch) | |
tree | 273f6bda0d01abd77887459831c0e356f47ffbf7 /linden/indra/llui/llui.h | |
parent | More unused variable deletion. (diff) | |
download | meta-impy-e5cc2e99e6295aabe401f9c229a39574e0d9bf38.zip meta-impy-e5cc2e99e6295aabe401f9c229a39574e0d9bf38.tar.gz meta-impy-e5cc2e99e6295aabe401f9c229a39574e0d9bf38.tar.bz2 meta-impy-e5cc2e99e6295aabe401f9c229a39574e0d9bf38.tar.xz |
Clean out a couple of compiler warnings.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/llui/llui.h b/linden/indra/llui/llui.h index ebcc730..466d2c7 100644 --- a/linden/indra/llui/llui.h +++ b/linden/indra/llui/llui.h | |||
@@ -706,10 +706,12 @@ public: | |||
706 | 706 | ||
707 | // this avoids a MSVC bug where non-referenced static members are "optimized" away | 707 | // this avoids a MSVC bug where non-referenced static members are "optimized" away |
708 | // even if their constructors have side effects | 708 | // even if their constructors have side effects |
709 | // Then we avoid a compiler warning that dummy is never used. lol | ||
709 | void reference() | 710 | void reference() |
710 | { | 711 | { |
711 | S32 dummy; | 712 | S32 dummy; |
712 | dummy = 0; | 713 | dummy = 0; |
714 | dummy = dummy + 0; | ||
713 | } | 715 | } |
714 | }; | 716 | }; |
715 | 717 | ||