daemon: handle LMS_PROGRESS_STATUS_UNKNOWN value on switch
authorLeandro Dorileo <leandro.maciel.dorileo@intel.com>
Thu, 15 Jan 2015 20:38:59 +0000 (18:38 -0200)
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Thu, 15 Jan 2015 22:14:56 +0000 (20:14 -0200)
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.

src/bin/lightmediascannerd.c

index bfe2a70..319db42 100644 (file)
@@ -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: