fix for error in recent commit.
[blender.git] / source / blender / makesrna / intern / rna_lattice.c
index 1678201dec2134c292adccc1f9ac831fe83a091f..3285ed4e3920344583a83260d4c3c5e4f055acc7 100644 (file)
@@ -202,9 +202,8 @@ static char *rna_LatticePoint_path(PointerRNA *ptr)
                        return BLI_sprintfN("points[%d]", pt_index);
                }
        }
-       else {
-               return BLI_strdup("");
-       }
+
+       return BLI_strdup("");
 }