small improvement (#7288)

* small improvement

* comments addressed

Co-authored-by: kd-11 <15904127+kd-11@users.noreply.github.com>
This commit is contained in:
Maksim Derbasov 2020-01-22 15:28:48 +03:00 committed by Ani
parent adcc3e9c4b
commit 1abdee242a
7 changed files with 5 additions and 9 deletions

View file

@ -273,7 +273,6 @@ static error_code check_camera_info(const CellCameraInfoEx& info)
std::pair<u32, u32> get_video_resolution(const CellCameraInfoEx& info)
{
std::pair<u32, u32> res;
switch (info.resolution)
{
case CELL_CAMERA_VGA: return{ 640, 480 };