diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-01 14:14:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-01 14:14:09 +0400 |
commit | 1093f69e506e56e0bf605c44aefc34d6f9bc27fe (patch) | |
tree | d639e38ba6021c1e307bca0ba31a54f47a1fdec4 /source/blender/editors/space_file/filelist.c | |
parent | b6ec6e5ca54ae7d5747f7aa6412be1ab6103ce2d (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/editors/space_file/filelist.c')
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 0a8ae56c291..b097ad0f55e 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -797,8 +797,6 @@ int ED_file_extension_icon(char *relname) return ICON_FILE_MOVIE; else if (type == PYSCRIPTFILE) return ICON_FILE_SCRIPT; - else if (type == PYSCRIPTFILE) - return ICON_FILE_SCRIPT; else if (type == SOUNDFILE) return ICON_FILE_SOUND; else if (type == FTFONTFILE) |