[haiku-commits] r40068 - haiku/trunk/src/system/boot/loader/file_systems/fat

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 2 Jan 2011 15:36:25 +0100 (CET)

Author: bonefish
Date: 2011-01-02 15:36:25 +0100 (Sun, 02 Jan 2011)
New Revision: 40068
Changeset: http://dev.haiku-os.org/changeset/40068

Modified:
   haiku/trunk/src/system/boot/loader/file_systems/fat/Volume.cpp
Log:
Also initialize fCachedBlock, as it is used in the destructor. Related to
CID 10271, though that's actually the only member it doesn't mention.


Modified: haiku/trunk/src/system/boot/loader/file_systems/fat/Volume.cpp
===================================================================
--- haiku/trunk/src/system/boot/loader/file_systems/fat/Volume.cpp      
2011-01-02 14:28:55 UTC (rev 40067)
+++ haiku/trunk/src/system/boot/loader/file_systems/fat/Volume.cpp      
2011-01-02 14:36:25 UTC (rev 40068)
@@ -26,6 +26,7 @@
 
 Volume::Volume(boot::Partition *partition)
        :
+       fCachedBlock(NULL),
        fRoot(NULL)
 {
        TRACE(("%s()\n", __FUNCTION__));


Other related posts:

  • » [haiku-commits] r40068 - haiku/trunk/src/system/boot/loader/file_systems/fat - ingo_weinhold