Bug 1317638 - Fix build fail in TestBlockingProcess.cpp if enabling warnings as errors. r=erahm

MozReview-Commit-ID: AChdrrdhf4Z

--HG--
extra : rebase_source : 3aab53ea08a0c6699f963b32e1f896cb13d02359
This commit is contained in:
James Cheng 2016-11-15 16:33:59 +08:00
parent cdfb8febbc
commit c1ca1ea63f

View File

@ -1,8 +1,9 @@
#include <stdio.h>
#include "mozilla/Unused.h"
int main()
{
char tmp;
fread(&tmp, sizeof(tmp), 1, stdin);
mozilla::Unused << fread(&tmp, sizeof(tmp), 1, stdin);
return 0;
}