Browse Source

Merging declaration and assignment

Source commit: 063f0e858f70a161f23e12863d42d247d38db0d0
Martin Prikryl 9 years ago
parent
commit
0409ecd920
1 changed files with 1 additions and 2 deletions
  1. 1 2
      source/core/Bookmarks.cpp

+ 1 - 2
source/core/Bookmarks.cpp

@@ -166,8 +166,7 @@ void __fastcall TBookmarks::Save(THierarchicalStorage * Storage, bool All)
         TBookmarkList * BookmarkList = dynamic_cast<TBookmarkList *>(FBookmarkLists->Objects[Index]);
         if (All || BookmarkList->Modified)
         {
-          UnicodeString Key;
-          Key = FBookmarkLists->Strings[Index];
+          UnicodeString Key = FBookmarkLists->Strings[Index];
           Storage->RecursiveDeleteSubKey(Key);
           if (Storage->OpenSubKey(Key, true))
           {