rage - fix coverity issues.

v-0.4.0
Carsten Haitzler 8 years ago
parent 4b516ab8bb
commit 25a21888bc
  1. 3
      src/bin/albumart.c
  2. 3
      src/bin/browser.c

@ -260,11 +260,10 @@ albumart_find(const char *file,
handle_complete = ecore_event_handler_add(ECORE_CON_EVENT_URL_COMPLETE,
_cb_http_complete, NULL);
if (!file) return;
fetchfile = _inpath(file);
_fetch_done = fetch_done;
_fetch_data = _fetch_data;
_fetch_data = fetch_data;
path = _thumbpath(fetchfile);
if (path)

@ -335,8 +335,7 @@ _entry_files_redo(Evas_Object *win, Entry *entry)
_item_size_get(win, &iw, &ih);
cols = w / iw;
if (cols < 1) cols = 1;
if (cols > 0) rows = (num + (cols - 1)) / cols;
else rows = 0;
rows = (num + (cols - 1)) / cols;
entry->iw = iw;
entry->ih = ih;

Loading…
Cancel
Save