[llvm] r266964 - ThinLTO: initialize variables

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 20 23:43:42 PDT 2016


Author: mehdi_amini
Date: Thu Apr 21 01:43:41 2016
New Revision: 266964

URL: http://llvm.org/viewvc/llvm-project?rev=266964&view=rev
Log:
ThinLTO: initialize variables

From: Mehdi Amini <mehdi.amini at apple.com>

Modified:
    llvm/trunk/include/llvm/LTO/ThinLTOCodeGenerator.h

Modified: llvm/trunk/include/llvm/LTO/ThinLTOCodeGenerator.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LTO/ThinLTOCodeGenerator.h?rev=266964&r1=266963&r2=266964&view=diff
==============================================================================
--- llvm/trunk/include/llvm/LTO/ThinLTOCodeGenerator.h (original)
+++ llvm/trunk/include/llvm/LTO/ThinLTOCodeGenerator.h Thu Apr 21 01:43:41 2016
@@ -110,8 +110,8 @@ public:
   struct CachingOptions {
     std::string Path;
     int PruningInterval = -1;               // seconds, -1 to disable pruning
-    unsigned int Expiration;                // seconds.
-    unsigned MaxPercentageOfAvailableSpace; // percentage.
+    unsigned int Expiration = 0;            // seconds.
+    unsigned MaxPercentageOfAvailableSpace = 0; // percentage.
   };
 
   /// Provide a path to a directory where to store the cached files for




More information about the llvm-commits mailing list