[Eve] Fix problems spotted by clang static analyzer.
SVN revision: 52523
This commit is contained in:
parent
9ee9f7523d
commit
580a6fa9f2
|
@ -690,7 +690,6 @@ _history_update(const char *url, const char *title)
|
|||
static const char *
|
||||
_chrome_title_get(Evas_Object *chrome, char *buf, size_t bufsize)
|
||||
{
|
||||
Browser_Window *win = evas_object_data_get(chrome, "win");
|
||||
Evas_Object *view = evas_object_data_get(chrome, "view");
|
||||
const char *url = ewk_view_uri_get(view);
|
||||
const char *title = ewk_view_title_get(view);
|
||||
|
@ -1198,7 +1197,10 @@ on_list_completely_hidden(void *data, Evas_Object *ed, const char *emission __UN
|
|||
|
||||
if (!eina_list_data_find(win->list_history, params->root))
|
||||
{
|
||||
if (params->root == more_menu_root || !params->root)
|
||||
if (!params->root)
|
||||
params->root = more_menu_root;
|
||||
|
||||
if (params->root == more_menu_root)
|
||||
win->list_history = eina_list_prepend(win->list_history, NULL);
|
||||
else
|
||||
win->list_history = eina_list_prepend(win->list_history, params->root);
|
||||
|
|
|
@ -587,9 +587,9 @@ elm_main(int argc, char **argv)
|
|||
Eina_Bool disable_touch_interface = 0xff;
|
||||
char *user_agent_option = NULL;
|
||||
const char *user_agent_str;
|
||||
E_DBus_Connection *conn;
|
||||
E_DBus_Connection *conn = NULL;
|
||||
size_t dirlen;
|
||||
Ecore_Timer *session_save_timer;
|
||||
Ecore_Timer *session_save_timer = NULL;
|
||||
|
||||
Ecore_Getopt_Value values[] = {
|
||||
ECORE_GETOPT_VALUE_BOOL(app.is_fullscreen),
|
||||
|
|
Loading…
Reference in New Issue