Enlightenment CVS schrieb:
> Enlightenment CVS committal
>
> Author  : andreas
> Project : e17
> Module  : proto/eflpp
>
> Dir     : e17/proto/eflpp/src/ecore
>
>
> Modified Files:
>       eflpp_ecore_data.cpp 
>
>
> Log Message:
> check
>
> ===================================================================
> RCS file: /cvs/e/e17/proto/eflpp/src/ecore/eflpp_ecore_data.cpp,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -3 -r1.1 -r1.2
> --- eflpp_ecore_data.cpp      5 Sep 2007 22:22:03 -0000       1.1
> +++ eflpp_ecore_data.cpp      5 Sep 2007 22:25:14 -0000       1.2
> @@ -5,9 +5,12 @@
>  template <typename T>
>  EcoreList<T>::EcoreList()
>  {
> -   m_list = ecore_list_new();
> -   /*int status =*/ ecore_list_init( m_list );
> -   // todo: how to handle return value?
> +    m_list = ecore_list_new();
> +    if (m_list)
> +    {
> +        /*int status =*/ ecore_list_init( m_list );
> +  
you don't need to call ecore_list_init() if you create the list via 
ecore_list_new().

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to