misc warnings/fixes

- WITH_OPENJPEG wasn't defined for creator.c with CMake.
- remove shadowed/redefined vars.
- remove some unused RNA report args.
- re-arrange IMB_FILE_TYPES so IRIS is not the first format tested, since its not very common test JPEG and PNG first.
This commit is contained in:
2011-02-20 15:48:01 +00:00
parent 8c4e95da48
commit 06aee2ef0e
11 changed files with 115 additions and 120 deletions

View File

@@ -99,7 +99,6 @@ uiBut *uiDefAutoButR(uiBlock *block, PointerRNA *ptr, PropertyRNA *prop, int ind
break;
case PROP_POINTER: {
PointerRNA pptr;
int icon;
pptr= RNA_property_pointer_get(ptr, prop);
if(!pptr.type)