diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2013-04-22 14:35:07 -0400 |
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2013-04-22 14:35:07 -0400 |
| commit | b7235f1a4492bf4365d241e239eb49fb3ae8bb3e (patch) | |
| tree | 6648b48a66f29e4af8dfe520892c17ccdf033a0a /indra/test/lltemplatemessagebuilder_tut.cpp | |
| parent | 57d88fdccb397257642530b36cbe918df65b41f4 (diff) | |
MAINT-2612: Remove no-longer-valid unused-var warning suppressions.
Somehow viewer-cat acquired a lot of source lines (in several different files)
of the form:
(void)somevar;
where ?somevar? was not declared. Apparently someone introduced an unused
declaration of ?somevar?, encountered unused-variable warnings, introduced the
(void) casts to suppress those warnings, then deleted the declarations --
without deleting the (void) casts. It seems worth noting that the resulting
code should not have compiled successfully on any platform.
Diffstat (limited to 'indra/test/lltemplatemessagebuilder_tut.cpp')
| -rw-r--r-- | indra/test/lltemplatemessagebuilder_tut.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/test/lltemplatemessagebuilder_tut.cpp b/indra/test/lltemplatemessagebuilder_tut.cpp index 3d3edab102..dde70f98c8 100644 --- a/indra/test/lltemplatemessagebuilder_tut.cpp +++ b/indra/test/lltemplatemessagebuilder_tut.cpp @@ -963,7 +963,6 @@ namespace tut memset(buffer, 0xcc, bufferSize); reader->getString(_PREHASH_Test1, _PREHASH_Test0, bufferSize, outBuffer); - (void)outValue2; ensure_equals("Ensure present value ", outValue, inValue); ensure_equals("Ensure unchanged buffer ", strlen(outBuffer), 0); delete reader; |
