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>2014-03-19 05:46:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-19 05:47:09 +0400
commita91247c2b4702cbdd423fb5526c2f5a8d04c65d8 (patch)
treeb18f3c10365e52f78eb10f249f5beb8f94477468 /source/blender/avi
parentf127f49b4d8f06fc4328d470e6fae3e4ebf5cff6 (diff)
Code cleanup: unreachable break/return
Diffstat (limited to 'source/blender/avi')
-rw-r--r--source/blender/avi/intern/avi_codecs.c8
-rw-r--r--source/blender/avi/intern/avi_options.c1
2 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/avi/intern/avi_codecs.c b/source/blender/avi/intern/avi_codecs.c
index e43826064a6..c14d088c8ea 100644
--- a/source/blender/avi/intern/avi_codecs.c
+++ b/source/blender/avi/intern/avi_codecs.c
@@ -106,10 +106,8 @@ int avi_get_format_type(AviFormat format)
case AVI_FORMAT_AVI_RGB:
case AVI_FORMAT_MJPEG:
return FCC("vids");
- break;
default:
return 0;
- break;
}
}
@@ -120,13 +118,10 @@ int avi_get_format_fcc(AviFormat format)
case AVI_FORMAT_RGB32:
case AVI_FORMAT_AVI_RGB:
return FCC("DIB ");
- break;
case AVI_FORMAT_MJPEG:
return FCC("MJPG");
- break;
default:
return 0;
- break;
}
}
@@ -137,12 +132,9 @@ int avi_get_format_compression(AviFormat format)
case AVI_FORMAT_RGB32:
case AVI_FORMAT_AVI_RGB:
return 0;
- break;
case AVI_FORMAT_MJPEG:
return FCC("MJPG");
- break;
default:
return 0;
- break;
}
}
diff --git a/source/blender/avi/intern/avi_options.c b/source/blender/avi/intern/avi_options.c
index c552cbe8724..47c18831cbd 100644
--- a/source/blender/avi/intern/avi_options.c
+++ b/source/blender/avi/intern/avi_options.c
@@ -125,7 +125,6 @@ AviError AVI_set_compress_option(AviMovie *movie, int option_type, int stream, A
break;
default:
return AVI_ERROR_OPTION;
- break;
}
return AVI_ERROR_NONE;