forked from enlightenment/efl
Cleanup of clang's static analyzer warnings for efreet.
SVN revision: 40114
This commit is contained in:
parent
babc8d254f
commit
37ff2edaff
|
@ -302,8 +302,8 @@ ef_cb_desktop_command_get(void)
|
||||||
|
|
||||||
/* clean up */
|
/* clean up */
|
||||||
efreet_desktop_free(desktop);
|
efreet_desktop_free(desktop);
|
||||||
files = eina_list_free(files);
|
eina_list_free(files);
|
||||||
expected = eina_list_free(expected);
|
eina_list_free(expected);
|
||||||
|
|
||||||
ret = info->error > 0 ? 0 : 1;
|
ret = info->error > 0 ? 0 : 1;
|
||||||
free(info);
|
free(info);
|
||||||
|
|
|
@ -108,7 +108,7 @@ efreet_config_home_get(void)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Returns the Eina_List of preference ordered extra config directories
|
* @return Returns the Eina_List of preference ordered extra config directories
|
||||||
* @brief Returns the Eina_List of prefernece oredred extra config
|
* @brief Returns the Eina_List of prefernece ordered extra config
|
||||||
* directories
|
* directories
|
||||||
*
|
*
|
||||||
* @note The returned list is static inside Efreet. If you add/remove from the
|
* @note The returned list is static inside Efreet. If you add/remove from the
|
||||||
|
|
|
@ -1062,7 +1062,6 @@ efreet_icon_populate(Efreet_Icon *icon, const char *file)
|
||||||
|
|
||||||
t = strdup(tmp);
|
t = strdup(tmp);
|
||||||
s = t;
|
s = t;
|
||||||
p = t;
|
|
||||||
while (s)
|
while (s)
|
||||||
{
|
{
|
||||||
Efreet_Icon_Point *point;
|
Efreet_Icon_Point *point;
|
||||||
|
|
|
@ -670,8 +670,6 @@ efreet_menu_parse(const char *path)
|
||||||
internal->inline_header = 1;
|
internal->inline_header = 1;
|
||||||
internal->inline_alias = 0;
|
internal->inline_alias = 0;
|
||||||
|
|
||||||
search_dirs = efreet_config_dirs_get();
|
|
||||||
|
|
||||||
efreet_menu_path_set(internal, path);
|
efreet_menu_path_set(internal, path);
|
||||||
if (!efreet_menu_handle_menu(internal, xml))
|
if (!efreet_menu_handle_menu(internal, xml))
|
||||||
{
|
{
|
||||||
|
|
|
@ -187,9 +187,6 @@ efreet_util_path_in_default(const char *section, const char *path)
|
||||||
|
|
||||||
EINA_LIST_FREE(dirs, dir)
|
EINA_LIST_FREE(dirs, dir)
|
||||||
{
|
{
|
||||||
size_t len;
|
|
||||||
|
|
||||||
len = strlen(dir);
|
|
||||||
if (!strncmp(path, dir, strlen(dir)))
|
if (!strncmp(path, dir, strlen(dir)))
|
||||||
{
|
{
|
||||||
ret = dir;
|
ret = dir;
|
||||||
|
|
Loading…
Reference in New Issue