Commit a25e59da authored by Misha Shneerson's avatar Misha Shneerson Committed by Jordan DeLong

Suppress unused variable warning

Summary:
HPHP compiler treats warnings as errors and the unused 'constuctor'
variable breaks the build.

Test Plan: Build

Reviewed By: simpkins@fb.com

FB internal diff: D759559
parent 1f528c76
...@@ -145,6 +145,7 @@ struct StaticMeta { ...@@ -145,6 +145,7 @@ struct StaticMeta {
// Leak it on exit, there's only one per process and we don't have to // Leak it on exit, there's only one per process and we don't have to
// worry about synchronization with exiting threads. // worry about synchronization with exiting threads.
static bool constructed = (inst = new StaticMeta<Tag>()); static bool constructed = (inst = new StaticMeta<Tag>());
(void)constructed; // suppress unused warning
return *inst; return *inst;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment