diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-20 16:51:26 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-20 16:51:26 +0200 |
commit | 4799cf30869ea5e98cdbc74060d237181af6a20b (patch) | |
tree | 715c8be38489ea79083db18bd278a654d2627601 /src/bookmarks | |
parent | Fixed tooltip in the bookmarks panel (diff) | |
download | rekonq-4799cf30869ea5e98cdbc74060d237181af6a20b.tar.xz |
cppcheck: reduce variable scope
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/bookmarksmanager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp index 0c3284bb..e68751c0 100644 --- a/src/bookmarks/bookmarksmanager.cpp +++ b/src/bookmarks/bookmarksmanager.cpp @@ -306,11 +306,10 @@ void BookmarkProvider::slotPanelChanged() KBookmark BookmarkProvider::bookmarkForUrl(const KUrl &url) { - KBookmark found; - KBookmarkGroup root = rootGroup(); if (root.isNull()) { + KBookmark found; return found; } |