Browse Source

Silenced wrong compiler warning (it is always initialized).

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
7f21d5a05e
  1. 2
      src/AbstractImage.cpp

2
src/AbstractImage.cpp

@ -19,7 +19,7 @@
namespace Magnum {
size_t AbstractImage::pixelSize(Components format, ComponentType type) {
size_t size;
size_t size = 0;
switch(type) {
case ComponentType::RGB332:
case ComponentType::BGR233:

Loading…
Cancel
Save