fix warning about unreachable code
This commit is contained in:
parent
93e28f42f3
commit
c0a24dc4b7
1 changed files with 0 additions and 2 deletions
|
@ -1735,8 +1735,6 @@ Uint32 get_pixel(const surface& surf, const const_surface_lock& surf_lock, int x
|
|||
break;
|
||||
case 4:
|
||||
return *reinterpret_cast<const Uint32*>(src);
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue