toolbar: Fixed dead assignment reported by clang build.
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Mon, 6 Jan 2014 14:11:47 +0000 (23:11 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Mon, 6 Jan 2014 14:14:14 +0000 (23:14 +0900)
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-0ipfss.html#EndPath

src/lib/elm_toolbar.c

index 5ac9bc2044a23f5706879752726ecd9cea8b2ca5..545e09d3264638d4be606a0baf81954252309581 100644 (file)
@@ -240,7 +240,7 @@ _items_size_fit(Evas_Object *obj, Evas_Coord *bl, Evas_Coord view)
 
    EINA_INLIST_FOREACH(sd->items, it)
      {
-        min = mw = mh = -1;
+        mw = mh = -1;
         if (it->in_box && it->in_box == sd->bx)
           {
              if (!it->separator && !it->object)