[yast-commit] r56739 - /trunk/ruby-bindings/src/ruby/YCP.cc
Author: kkaempf Date: Thu Apr 9 15:25:43 2009 New Revision: 56739 URL: http://svn.opensuse.org/viewcvs/yast?rev=56739&view=rev Log: drop unused 'init_wfm' Modified: trunk/ruby-bindings/src/ruby/YCP.cc Modified: trunk/ruby-bindings/src/ruby/YCP.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/ruby-bindings/src/ruby/YCP.cc?rev=56739&r1=56738&r2=56739&view=diff ============================================================================== --- trunk/ruby-bindings/src/ruby/YCP.cc (original) +++ trunk/ruby-bindings/src/ruby/YCP.cc Thu Apr 9 15:25:43 2009 @@ -72,7 +72,6 @@ static Y2Component *owned_uic = 0; -static Y2Component *owned_wfmc = 0; extern "C" { @@ -93,20 +92,6 @@ } -static Y2Component * -init_wfm() -{ - y2milestone("init_wfm"); - owned_wfmc = Y2ComponentBroker::createClient("wfm"); - if (owned_wfmc == 0) - y2error("Cannot create WFM component"); - else - y2milestone("WFM init"); - - return owned_wfmc; -} - - /*-------------------------------------------- * * Document-module: Ui @@ -667,11 +652,7 @@ Init_ycpx() { YCPPathSearch::initialize(); -#if 0 - /* start WFM client, will start SCR server */ - if (init_wfm() == 0) - rb_raise( rb_eRuntimeError, "WFM init failure"); -#endif + /* * Debug: log search pathes */ -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kkaempf@svn.opensuse.org