aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/pt_mtheme/pt_mtheme.cpp
diff options
context:
space:
mode:
authorMike FABIAN <mike.fabian@basyskom.de>2010-05-06 16:44:22 +0200
committerMike FABIAN <mike.fabian@basyskom.de>2010-05-07 14:09:57 +0200
commitb2c0c017646b753acdc97a8b97b9145c67b731cb (patch)
tree34882db91faa1c1d2127d6f8524dcc2252ab8cd4 /benchmarks/pt_mtheme/pt_mtheme.cpp
parent659aa8057fd3733ae489d265112566b10138c2c3 (diff)
Changes: fix coverity issues CID 91, 89, 88
RevBy: Armin Berres Details: Checker: UNINIT Function: Pt_MTheme::constructor() Checker: UNINIT Function: Pt_MApplication::ctor2() Checker: UNINIT Function: Pt_MApplication::ctor()
Diffstat (limited to 'benchmarks/pt_mtheme/pt_mtheme.cpp')
-rw-r--r--benchmarks/pt_mtheme/pt_mtheme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/pt_mtheme/pt_mtheme.cpp b/benchmarks/pt_mtheme/pt_mtheme.cpp
index ba84b585..52f4bf95 100644
--- a/benchmarks/pt_mtheme/pt_mtheme.cpp
+++ b/benchmarks/pt_mtheme/pt_mtheme.cpp
@@ -26,7 +26,7 @@
void Pt_MTheme::constructor()
{
- MTheme *theme;
+ MTheme *theme = NULL;
QBENCHMARK_ONCE {
theme = new MTheme("widgetsgallery");
}