Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-11-20 12:46:17 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-11-20 12:46:17 +0300
commit9bc2570e2ac7e3fc5e6095af300ef863d3ba4ca6 (patch)
tree6451b68ca84d20006cd7dbf11255089c88be9d7a /source
parent0540d2b65c282e958dc7621676b1d829544009cf (diff)
Removed superfluous NULL check
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_movieclip.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_movieclip.c b/source/blender/makesrna/intern/rna_movieclip.c
index 5318ea172ef..36c6bebe561 100644
--- a/source/blender/makesrna/intern/rna_movieclip.c
+++ b/source/blender/makesrna/intern/rna_movieclip.c
@@ -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);
}