fix for error in recent commit.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 13 Dec 2010 08:44:07 +0000 (08:44 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 13 Dec 2010 08:44:07 +0000 (08:44 +0000)
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("");
 }