Author: aschnell Date: Mon Mar 2 14:13:34 2009 New Revision: 55846 URL: http://svn.opensuse.org/viewcvs/yast?rev=55846&view=rev Log: - removed function returning constant value Modified: trunk/storage/storage/src/include/custom_part_lib.ycp Modified: trunk/storage/storage/src/include/custom_part_lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_lib.ycp?rev=55846&r1=55845&r2=55846&view=diff ============================================================================== --- trunk/storage/storage/src/include/custom_part_lib.ycp (original) +++ trunk/storage/storage/src/include/custom_part_lib.ycp Mon Mar 2 14:13:34 2009 @@ -578,14 +578,6 @@ return( ret ); } -define boolean AskCryptPwd( map p ) - { - /* boolean ret = p["mount"]:""!="swap" || !EmptyCryptPwdAllowed(p); */ - boolean ret = true; - y2milestone( "AskCryptPwd ret:%1", ret ); - return( true ); - } - /** * Do all checks concerning handling of crypt fs @@ -604,8 +596,7 @@ new["enc_type"] = new["format"]:false?`luks:`twofish; else new["enc_type"] = `none; - if( crypt_fs && AskCryptPwd( new ) && - size(Storage::GetCryptPwd( new["device"]:"" ))==0 ) + if( crypt_fs && size(Storage::GetCryptPwd( new["device"]:"" ))==0 ) { boolean tmpc = EmptyCryptPwdAllowed( new ); string fs_passwd = DlgCreateCryptFs( new["device"]:"", -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org