Navigation Menu

Skip to content

Commit

Permalink
remove needless parentheses.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 29, 2012
1 parent 565414c commit fdffa2d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ha_mroonga.cc
Expand Up @@ -7069,35 +7069,26 @@ void ha_mroonga::storage_store_field_integer(Field *field,
{
switch (value_length) {
case 1:
{
char field_value;
field_value = *((char *)value);
field->store(field_value);
break;
}
case 2:
{
short field_value;
field_value = *((short *)value);
field->store(field_value);
break;
}
case 4:
{
int field_value;
field_value = *((int *)value);
field->store(field_value);
break;
}
case 8:
{
long long int field_value;
field_value = *((long long int *)value);
field->store(field_value);
break;
}
default:
{
// Why!?
char error_message[MRN_MESSAGE_BUFFER_SIZE];
snprintf(error_message, MRN_MESSAGE_BUFFER_SIZE,
Expand Down

0 comments on commit fdffa2d

Please sign in to comment.