upeke2: Fix build-time warnings

Fix warnings reported by gcc

https://bugs.freedesktop.org/show_bug.cgi?id=56439
This commit is contained in:
Vasily Khoruzhick 2012-10-20 12:27:52 +03:00 committed by Bastien Nocera
parent d003f08855
commit be29f27e25

View file

@ -738,14 +738,14 @@ static void initsm_run_state(struct fpi_ssm *ssm)
break; break;
case SEND28_51: ; case SEND28_51: ;
unsigned char dummy28_51[] = { 0x04, 0x0a, 0x00, 0x00, 0x00 }; unsigned char dummy28_51[] = { 0x04, 0x0a, 0x00, 0x00, 0x00 };
initsm_send_msg28_handler(ssm, 0x51, &dummy28_51, 5); initsm_send_msg28_handler(ssm, 0x51, dummy28_51, 5);
break; break;
case READ28_51: case READ28_51:
initsm_read_msg_handler(ssm, read28_51_cb); initsm_read_msg_handler(ssm, read28_51_cb);
break; break;
case SEND28_07: ; case SEND28_07: ;
unsigned char dummy28_07[] = { 0x04, 0x20, 0x00, 0x00, 0x00 }; unsigned char dummy28_07[] = { 0x04, 0x20, 0x00, 0x00, 0x00 };
initsm_send_msg28_handler(ssm, 0x07, &dummy28_07, 5); initsm_send_msg28_handler(ssm, 0x07, dummy28_07, 5);
break; break;
case READ28_07: case READ28_07:
initsm_read_msg_handler(ssm, read28_07_cb); initsm_read_msg_handler(ssm, read28_07_cb);