evas callbacks - add comment to note fallthrough is intended
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 8 Feb 2017 08:57:35 +0000 (17:57 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Wed, 8 Feb 2017 12:19:39 +0000 (21:19 +0900)
swtich fallthrough oftenis not intended but in this case it is, so
documente it as such.

src/lib/evas/canvas/evas_callbacks.c

index f67b0c2..84f07ff 100644 (file)
@@ -186,6 +186,7 @@ _eo_evas_object_cb(void *data, const Efl_Event *event)
 
       case EFL_EVENT_TYPE_FOCUS:
          event_info = NULL;
+        // NOTE: fallthrough here is explicitly intended!!!
       case EFL_EVENT_TYPE_NULL:
       case EFL_EVENT_TYPE_STRUCT:
       case EFL_EVENT_TYPE_OBJECT: