Oops! it gives warning messages?

2012/4/17 ChunEon Park <her...@naver.com>:
> Sorry, I didn't look at it carefully.
> Anyhow, please make it to not print any err/warning messages.
>
>
> Thank you.
>
>
> ------------------------------------
> -Regards, Hermet-
>
>
> -----Original Message-----
> From: "Kim Shinwoo"&lt;kimcinoo....@gmail.com&gt;
> To: "Enlightenment developer 
> list"&lt;enlightenment-devel@lists.sourceforge.net&gt;;
> Cc:
> Sent: 2012-04-17 (화) 17:44:34
> Subject: Re: [E-devel] [Patch][elementary_test] test_list
>
> Thanks for your response.
> Even though the list item - lit -  is NULL, the
> elm_list_item_prev/next(); does not occur error message.
> But other APIs such as elm_list_item_bring_in(); complains if its
> parameter is NULL. So I checked NULL before using it.
> Should I check the NULL before using elm_list_item_prev/next();?
>
> 2012/4/17 ChunEon Park &lt;hermet&gt;@naver.com&gt;:
> &gt; Found problems here
> &gt;
> &gt;
> &gt; In the test code, you missed NULL check for selected_item_get.
> &gt;  elm_list_selected_item_get(li);
> &gt; // if (!li) &lt;-------- NEED this
> &gt;
> &gt;
> &gt; ex)
> &gt; static void
> &gt; _prev_bt_clicked(void *data, Evas_Object *obj __UNUSED__,
> &gt;                 void *event_info __UNUSED__)
> &gt; {
> &gt; ....
> &gt;   Elm_Object_Item *lit = elm_list_selected_item_get(li);
> &gt;   &lt;------------------- YOU MISSED NULL CHECK "LIT" HERE.
> &gt;   lit = elm_list_item_prev(lit);
> &gt;   if (!lit) return;
> &gt;
> &gt;
> &gt;
> &gt; static void
> &gt; _next_bt_clicked(void *data, Evas_Object *obj __UNUSED__,
> &gt;                 void *event_info __UNUSED__)
> &gt; {
> &gt; ....
> &gt;   Elm_Object_Item *lit = elm_list_selected_item_get(li);
> &gt;   &lt;------------------- MISSED SAME NULL CHECKING!!
> &gt;   lit = elm_list_item_prev(lit);
> &gt;   if (!lit) return;
> &gt;
> &gt;
> &gt;
> &gt;
> &gt; -----Original Message-----
> &gt; From: "cnook"&lt;kimci...@gmail.com&gt;
> &gt; To: "EFL"&lt;enlightenment-devel@lists.sourceforge.net&gt;;
> &gt; Cc:
> &gt; Sent: 2012-04-17 (화) 13:35:19
> &gt; Subject: [E-devel] [Patch][elementary_test] test_list
> &gt;
> &gt; Dear All, Hello.
> &gt;
> &gt; I had added test code for the elementary. but I made a pause it because 
> of
> &gt; some reasons and just started again.
> &gt; Today I have attached a patch for the elm_list which does not have test
> &gt; code for the API elm_list_item_prev();
> &gt; Please review the attached patch and give any feedbacks. I'll be back 
> with
> &gt; other patches. Thanks!
> &gt;
> &gt; Sincerely,
> &gt; Shinwoo Kim.
> &gt; 
> ------------------------------------------------------------------------------
> &gt; Better than sec? Nothing is better than sec when it comes to
> &gt; monitoring Big Data applications. Try Boundary one-second
> &gt; resolution app monitoring today. Free.
> &gt; 
> http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________
> &gt; enlightenment-devel mailing list
> &gt; enlightenment-devel@lists.sourceforge.net
> &gt; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> &gt; 
> ------------------------------------------------------------------------------
> &gt; Better than sec? Nothing is better than sec when it comes to
> &gt; monitoring Big Data applications. Try Boundary one-second
> &gt; resolution app monitoring today. Free.
> &gt; http://p.sf.net/sfu/Boundary-dev2dev
> &gt; _______________________________________________
> &gt; enlightenment-devel mailing list
> &gt; enlightenment-devel@lists.sourceforge.net
> &gt; https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to