diff options
author | Maxim Ostapenko <m.ostapenko@samsung.com> | 2016-06-15 18:21:11 +0300 |
---|---|---|
committer | Maxim Ostapenko <m.ostapenko@samsung.com> | 2016-06-15 18:28:13 +0300 |
commit | b17a155a1c2377c0757240fcfa03036ce5957f57 (patch) | |
tree | d7eb485f2798f86171f9c18bbfb8b6f7a0decefe | |
parent | 3997e7ccd77e244fd3868f58ad815c1341ff6d0e (diff) | |
download | air_infosquare-accepted/tizen_3.0_tv.tar.gz air_infosquare-accepted/tizen_3.0_tv.tar.bz2 air_infosquare-accepted/tizen_3.0_tv.zip |
Fix 'row' may be used uninitialized in this function warning in ASan builds.submit/tizen_unified/20170309.100417submit/tizen_unified/20170308.100418submit/tizen_3.0_tv/20161015.000004submit/tizen_3.0.m2/20170104.093756submit/tizen/20160912.054309accepted/tizen/unified/20170309.074737accepted/tizen/tv/20160912.093607accepted/tizen/3.0/tv/20161016.005417accepted/tizen/3.0.m2/tv/20170105.030113tizen_3.0_tvtizen_3.0.m2tizen_3.0accepted/tizen_tvaccepted/tizen_3.0_tvaccepted/tizen_3.0.m2_tv
Fix compile error with Address Sanitizer tool enabled due to 'row' variable
may be used uninitialized in '_update_menu_area' function.
Change-Id: I8afe6330cb7bd7a3a6295fefa8cc252c38bbf069
Signed-off-by: Maxim Ostapenko <m.ostapenko@samsung.com>
-rw-r--r-- | src/action_menu_view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/action_menu_view.c b/src/action_menu_view.c index 701341f..2ce8c06 100644 --- a/src/action_menu_view.c +++ b/src/action_menu_view.c @@ -290,7 +290,7 @@ static bool _draw_top_area(struct _priv *priv) static void _update_menu_area(struct _priv *priv) { Evas_Object *btn; - int i, row, col; + int i, row = 0, col = 0; elm_table_clear(priv->table, EINA_TRUE); |