Removed superfluous NULL check
[blender.git] / source / blender / makesrna / intern / rna_movieclip.c
index 5318ea172ef3085baa6c59096ff80f3e9b151129..36c6bebe561b9259ee60d84024a01a2759534363 100644 (file)
@@ -75,10 +75,6 @@ static void rna_MovieClip_size_get(PointerRNA *ptr, int *values)
 static float rna_MovieClip_fps_get(PointerRNA *ptr)
 {
        MovieClip *clip = (MovieClip *)ptr->id.data;
-       if (clip == NULL) {
-               return 0.0f;
-       }
-
        return BKE_movieclip_get_fps(clip);
 }