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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-01 14:14:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-01 14:14:09 +0400
commit1093f69e506e56e0bf605c44aefc34d6f9bc27fe (patch)
treed639e38ba6021c1e307bca0ba31a54f47a1fdec4 /source/blender/blenloader/intern/readblenentry.c
parentb6ec6e5ca54ae7d5747f7aa6412be1ab6103ce2d (diff)
Style Cleanup
- duplicate cases in if/else - calc inside sizeof(...) - redundant NULL checks. - assignment to self. - fix error getting text prefix for screen ID button.
Diffstat (limited to 'source/blender/blenloader/intern/readblenentry.c')
-rw-r--r--source/blender/blenloader/intern/readblenentry.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c
index abc469a5355..39fab1929da 100644
--- a/source/blender/blenloader/intern/readblenentry.c
+++ b/source/blender/blenloader/intern/readblenentry.c
@@ -206,8 +206,6 @@ LinkNode *BLO_blendhandle_get_previews(BlendHandle *bh, int ofblocktype, int *to
}
} else if (bhead->code==ENDB) {
break;
- } else if (bhead->code==DATA) {
- /* DATA blocks between IDBlock and Preview */
} else {
looking = 0;
new_prv = NULL;