Removed superfluous NULL check
authorSybren A. Stüvel <sybren@stuvel.eu>
Tue, 20 Nov 2018 09:46:17 +0000 (10:46 +0100)
committerSybren A. Stüvel <sybren@stuvel.eu>
Tue, 20 Nov 2018 09:46:17 +0000 (10:46 +0100)
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);
 }