https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3a7c0d82d2fd4f1413cf0ed50eedad52b107d491

commit 3a7c0d82d2fd4f1413cf0ed50eedad52b107d491
Author:     Joachim Henze <[email protected]>
AuthorDate: Sun Jan 23 20:24:47 2022 +0100
Commit:     Joachim Henze <[email protected]>
CommitDate: Sun Jan 23 20:24:47 2022 +0100

    [RAPPS] Fallback to legacy "size" entry is not longer needed CORE-18018
    
    on 2021-10-03 Mark Jansen deleted all old size entries from the rapps 
database via
    
https://git.reactos.org/?p=rapps-db.git;a=commit;h=551e8cb95716f46e05c3be08996467bd93b1936f
    So it makes no sense to keep that fallback-code in RAPPS available.cpp 
RetrieveSize() func.
---
 base/applications/rapps/available.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/base/applications/rapps/available.cpp 
b/base/applications/rapps/available.cpp
index fcc069b8d0a..ee37a2b975f 100644
--- a/base/applications/rapps/available.cpp
+++ b/base/applications/rapps/available.cpp
@@ -215,13 +215,8 @@ VOID CAvailableApplicationInfo::RetrieveSize()
     INT iSizeBytes;
 
     if (!m_Parser->GetInt(L"SizeBytes", iSizeBytes))
-    {
-        // fall back to "Size" string
-        GetString(L"Size", m_szSize);
         return;
-    }
 
-    m_SizeBytes = iSizeBytes;
     StrFormatByteSizeW(iSizeBytes, m_szSize.GetBuffer(MAX_PATH), MAX_PATH);
     m_szSize.ReleaseBuffer();
 }

Reply via email to