From 7cd044356aafa71eee207166c140d9c2d5435788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20W=C3=B6bbeking?= Date: Tue, 3 Nov 2009 22:46:57 +0000 Subject: [PATCH] ksharedptr.h:211: warning: 'profile.KSharedPtr::d' is used uninitialized in this function ViewManager.cpp:981: note: 'profile.KSharedPtr::d' was declared here CCMAIL:kurt.hindenburg@gmail.com svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1044516 --- src/ViewManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ViewManager.cpp b/src/ViewManager.cpp index a983586ba..58f63c8c4 100644 --- a/src/ViewManager.cpp +++ b/src/ViewManager.cpp @@ -978,7 +978,7 @@ int ViewManager::currentSession() int ViewManager::newSession() { - Profile::Ptr profile = profile = SessionManager::instance()->defaultProfile(); + Profile::Ptr profile = SessionManager::instance()->defaultProfile(); Session* session = SessionManager::instance()->createSession(profile); this->createView(session);