From 0d791a30623726e2b4bd6bacbaabadafad6d8fa4 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Tue, 4 Jan 2011 04:02:51 +0000 Subject: [PATCH] Fix uninitialized member var that was resulting in a crash on startup. Resolves #7055. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40102 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/notifications/IconRule.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/preferences/notifications/IconRule.cpp b/src/preferences/notifications/IconRule.cpp index 7e64d5616c..c0841a08b6 100644 --- a/src/preferences/notifications/IconRule.cpp +++ b/src/preferences/notifications/IconRule.cpp @@ -24,7 +24,8 @@ BIconRule::BIconRule(const char* name) : BView(name, B_WILL_DRAW), fIcons(5, true), - fSelIndex(-1) + fSelIndex(-1), + fMessage(NULL) { }