edje - edje_cc - remove logically dead code
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 13 Feb 2014 10:31:29 +0000 (19:31 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 13 Feb 2014 10:31:29 +0000 (19:31 +0900)
fixes CID 1135268

src/bin/edje/edje_cc_handlers.c

index dda4116..bdac6d8 100644 (file)
@@ -2455,12 +2455,6 @@ st_collections_group_sound_sample_source(void)
    sample = 
      edje_file->sound_dir->samples +
      edje_file->sound_dir->samples_count - 1;
-   
-   if (!sample)
-     {
-        ERR("Invalid sound sample source definition.");
-        exit(-1);
-     }
    sample->snd_src = parse_str(0);
    check_arg_count(1);
 }