elm test.c: Fixed build warning.
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 13 Jan 2012 05:28:09 +0000 (05:28 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 13 Jan 2012 05:28:09 +0000 (05:28 +0000)
test.c:215:21: warning: â€˜t’ may be used uninitialized in this function

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67171 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test.c

index 27b3165..b5af690 100644 (file)
@@ -212,7 +212,7 @@ my_win_main(char *autorun, Eina_Bool test_win_only)
    Evas_Object *fr = NULL, *tg = NULL, *sc = NULL, *ic = NULL;
    Evas_Object *tbx = NULL, *cfr = NULL, *tbx2 = NULL, *bt = NULL;
    Eina_List *tests, *l;
-   struct elm_test *t;
+   struct elm_test *t = NULL;
    void *tt;
 
    if (test_win_only) goto add_tests;