elm dayselector - remove double set of content var
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Fri, 28 Jul 2017 16:06:17 +0000 (01:06 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 29 Jul 2017 00:08:40 +0000 (09:08 +0900)
this looks like a leftover from legacy to eo porting. it was harmless
but analysis hates it

found by PVS studio

src/lib/elementary/elm_dayselector.c

index f604df2..20911c4 100644 (file)
@@ -310,8 +310,6 @@ _elm_dayselector_content_unset(Eo *obj, Elm_Dayselector_Data *sd, const char *it
    it = _item_find(obj, day);
    if (!it) return NULL;
 
-   content = VIEW(it);
-
    content = efl_content_unset(efl_part(efl_super(obj, MY_CLASS), buf));
    if (!content) return NULL;