From: Leandro Dorileo Date: Thu, 15 Jan 2015 20:38:59 +0000 (-0200) Subject: daemon: handle LMS_PROGRESS_STATUS_UNKNOWN value on switch X-Git-Tag: release_0.5.0~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e018143443948b6d9533b1007c2c8c2d97fdef0e;p=platform%2Fupstream%2Flightmediascanner.git daemon: handle LMS_PROGRESS_STATUS_UNKNOWN value on switch Since lms_progress_status_t has a new value we need to handle that case within scan_progress_cb and make the compiler a bit happier. --- diff --git a/src/bin/lightmediascannerd.c b/src/bin/lightmediascannerd.c index bfe2a70..319db42 100644 --- a/src/bin/lightmediascannerd.c +++ b/src/bin/lightmediascannerd.c @@ -656,6 +656,7 @@ scan_progress_cb(lms_t *lms, const char *path, int pathlen, lms_progress_status_ case LMS_PROGRESS_STATUS_DELETED: sp->deleted++; break; + case LMS_PROGRESS_STATUS_UNKNOWN: case LMS_PROGRESS_STATUS_KILLED: case LMS_PROGRESS_STATUS_ERROR_PARSE: case LMS_PROGRESS_STATUS_ERROR_COMM: