diff options
author | Hib Eris <hib@hiberis.nl> | 2008-12-21 21:35:29 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2008-12-21 22:09:56 +0100 |
commit | cc24f37e582bfc0069faf286da97a48fe4794db1 (patch) | |
tree | a93a421af7b60d8c606c4304b5664d3489e6618d /test | |
parent | a8cc4ad8c2da804f25db8cca1c85433d5a63307c (diff) |
Fix compile warning on ambiguous else
Diffstat (limited to 'test')
-rw-r--r-- | test/perf-test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc index 135ed345..4de17ae7 100644 --- a/test/perf-test.cc +++ b/test/perf-test.cc @@ -937,11 +937,12 @@ static void RenderPdf(const char *fileName) bmpSplash = engineSplash->renderBitmap(curPage, 100.0, 0);
msTimer.stop();
double timeInMs = msTimer.getElapsed();
- if (gfTimings)
+ if (gfTimings) {
if (!bmpSplash)
LogInfo("page splash %d: failed to render\n", curPage);
else
LogInfo("page splash %d (%dx%d): %.2f ms\n", curPage, bmpSplash->getWidth(), bmpSplash->getHeight(), timeInMs);
+ }
if (ShowPreview()) {
PreviewBitmapSplash(bmpSplash);
|