This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

unknown warning

u8 Key;
u8 VarItem;

      switch (Key) {
        case Kb_0    : ...
        case Kb_1    : ...
        case Kb_2    : ...
        case Kb_3    : ...
        case Kb_4    : ...
        case Kb_5    : ...
        case Kb_6    : ...
        case Kb_7    : ...
        case Kb_8    : ...
        case Kb_9    : ...
        case Kb_Min  : ...
        case Kb_Enter :
            switch (VarItem) {
              case 0  : ...
              case 1  : ...
              case 2  : ...
             }
      }


When I compile above I got one warning
warning: #516-D: transfer of control bypasses initialisation off:
in the line near switch(VarItem). What is the meaning of this warning. When I ignore it, all works, but I do not like warnings ...

0