[yast-commit] r56951 - in /trunk/storage/libstorage/src: Md.cc Storage.cc Volume.cc
Author: aschnell Date: Thu Apr 23 18:44:09 2009 New Revision: 56951 URL: http://svn.opensuse.org/viewcvs/yast?rev=56951&view=rev Log: - cleanup Modified: trunk/storage/libstorage/src/Md.cc trunk/storage/libstorage/src/Storage.cc trunk/storage/libstorage/src/Volume.cc Modified: trunk/storage/libstorage/src/Md.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Md.cc?rev=56951&r1=56950&r2=56951&view=diff ============================================================================== --- trunk/storage/libstorage/src/Md.cc (original) +++ trunk/storage/libstorage/src/Md.cc Thu Apr 23 18:44:09 2009 @@ -522,7 +522,7 @@ MdType Md::toMdType( const string& val ) { - enum MdType ret = MULTIPATH; + MdType ret = MULTIPATH; while( ret!=RAID_UNK && val!=md_names[ret] ) { ret = MdType(ret-1); Modified: trunk/storage/libstorage/src/Storage.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Storage.cc?rev=56951&r1=56950&r2=56951&view=diff ============================================================================== --- trunk/storage/libstorage/src/Storage.cc (original) +++ trunk/storage/libstorage/src/Storage.cc Thu Apr 23 18:44:09 2009 @@ -579,8 +579,7 @@ { enum DTyp { DISK, DASD, XEN }; - DiskData() { d=0; s=0; typ=DISK; }; - DiskData( const string& n, DTyp t, unsigned long long sz ) { d=0; s=sz; typ=t; name=n; }; + DiskData( const string& n, DTyp t, unsigned long long sz ) { d=0; s=sz; typ=t; name=n; } Disk* d; DTyp typ; Modified: trunk/storage/libstorage/src/Volume.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/libstorage/src/Volume.cc?rev=56951&r1=56950&r2=56951&view=diff ============================================================================== --- trunk/storage/libstorage/src/Volume.cc (original) +++ trunk/storage/libstorage/src/Volume.cc Thu Apr 23 18:44:09 2009 @@ -2536,7 +2536,7 @@ FsType Volume::toFsType( const string& val ) { - enum FsType ret = FSNONE; + FsType ret = FSNONE; while( ret!=FSUNKNOWN && val!=fs_names[ret] ) { ret = FsType(ret-1); @@ -2546,7 +2546,7 @@ MountByType Volume::toMountByType( const string& val ) { - enum MountByType ret = MOUNTBY_LABEL; + MountByType ret = MOUNTBY_LABEL; while( ret!=MOUNTBY_DEVICE && val!=mb_names[ret] ) { ret = MountByType(ret-1); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
aschnell@svn.opensuse.org