elm test.c: Removed wrong warnings. Fixed indentation and removed
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 29 Aug 2011 04:00:17 +0000 (04:00 +0000)
committerMike McCormack <mj.mccormack@samsung.com>
Fri, 18 Nov 2011 05:52:18 +0000 (14:52 +0900)
trailing whitespaces.

git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@62929 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test.c

index 9d88a16..d5d867b 100644 (file)
@@ -195,7 +195,8 @@ _ui_tg_changed(void *data, Evas_Object *obj, void *event_info)
 static void
 my_win_main(char *autorun, Eina_Bool test_win_only)
 {
-   Evas_Object *win, *bg, *bx0, *lb, *li, *idx, *fr, *tg;
+   Evas_Object *win = NULL, *bg = NULL, *bx0 = NULL, *lb = NULL, *li = NULL;
+   Evas_Object *idx = NULL, *fr = NULL, *tg = NULL;
    Eina_List *tests, *l;
    struct elm_test *t;
 
@@ -435,11 +436,11 @@ add_tests:
    if (autorun)
      {
         EINA_LIST_FOREACH(tests, l, t)
-           if ((t->name) && (t->cb) && (!strcmp(t->name, autorun)))
-             t->cb(NULL, NULL, NULL);
+          if ((t->name) && (t->cb) && (!strcmp(t->name, autorun)))
+            t->cb(NULL, NULL, NULL);
 
      }
-   
+
    if (test_win_only) return;
 
    if (tests)
@@ -466,7 +467,7 @@ add_tests:
    evas_object_resize(win, 320, 480);
    /* show the window */
    if (!test_win_only)
-      evas_object_show(win);
+     evas_object_show(win);
 }
 
 /* this is your elementary main function - it MUST be called IMMEDIATELY