- added GCC warning -Wstrict-prototypes
[blender.git] / source / blender / editors / space_outliner / outliner.c
index 38a29a1871365ad411af9fbc571d1665b2fdaa18..f9c5661b51d833827e771c34938d41c6caaa8eda 100644 (file)
@@ -340,7 +340,7 @@ static int treesort_alpha(const void *v1, const void *v2)
        if(comp==1) return 1;
        else if(comp==2) return -1;
        else if(comp==3) {
-               int comp= strcmp(x1->name, x2->name);
+               comp= strcmp(x1->name, x2->name);
                
                if( comp>0 ) return 1;
                else if( comp<0) return -1;