Bläddra i källkod

Merging declaration and assignment

Source commit: 063f0e858f70a161f23e12863d42d247d38db0d0
Martin Prikryl 9 år sedan
förälder
incheckning
0409ecd920
1 ändrade filer med 1 tillägg och 2 borttagningar
  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))
           {