Cosmetic fix: remove duplicate semicolons

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-03-04 18:15:06 +00:00
parent 23e28f2b0c
commit 4f87abf90a
12 changed files with 14 additions and 14 deletions

View file

@ -449,7 +449,7 @@ static void predictor_decompress_fir_adapt(int32_t *error_buffer,
predictor_coef_table[predictor_num]++;
val=-val;
} else {
predictor_coef_table[predictor_num]--;;
predictor_coef_table[predictor_num]--;
}
error_val -= ((val >> predictor_quantitization) * (4 - predictor_num));
}
@ -522,7 +522,7 @@ static void predictor_decompress_fir_adapt(int32_t *error_buffer,
predictor_coef_table[predictor_num]++;
val=-val;
} else {
predictor_coef_table[predictor_num]--;;
predictor_coef_table[predictor_num]--;
}
error_val -= ((val >> predictor_quantitization) * (8 - predictor_num));
}

View file

@ -234,7 +234,7 @@ mpc_calculate_new_V ( const MPC_SAMPLE_FORMAT * Sample, MPC_SAMPLE_FORMAT * V )
B[ 4] = A[ 4] + A[11];
B[ 5] = A[ 5] + A[10];
B[ 6] = A[ 6] + A[ 9];
B[ 7] = A[ 7] + A[ 8];;
B[ 7] = A[ 7] + A[ 8];
B[ 8] = MPC_MULTIPLY_V((A[ 0] - A[15]), INVCOS02);
B[ 9] = MPC_MULTIPLY_V((A[ 1] - A[14]), INVCOS06);
B[10] = MPC_MULTIPLY_V((A[ 2] - A[13]), INVCOS10);

View file

@ -452,7 +452,7 @@ static int peak_meter_max(void) {
/* for dBfs scale */
int range_min = -global_settings.peak_meter_min;
int max = -global_settings.peak_meter_max;;
int max = -global_settings.peak_meter_max;
retval = set_int(str(LANG_PM_MAX), str(LANG_PM_DBFS), UNIT_DB,
&max, NULL, 1, range_min, 0, NULL);

View file

@ -2554,7 +2554,7 @@ unsigned long audio_num_recorded_bytes(void)
if(num_bytes < 0)
num_bytes += audiobuflen;
return num_bytes;;
return num_bytes;
}
else
return num_rec_bytes;

View file

@ -899,7 +899,7 @@ setup_display (void)
if (board_height >= 7)
{
start_y = 3;;
start_y = 3;
}
else
{

View file

@ -537,7 +537,7 @@ bool set_time_screen(const char* title, struct tm *tm)
{
if(i==3) /* second row */
{
j = weekday_width + separator_width;;
j = weekday_width + separator_width;
prev_line_height *= 2;
}
screens[s].getstringsize(ptr[i], &width, NULL);

View file

@ -136,7 +136,7 @@ int i2c_write_data(int bus_index, int bus_address, int address,
{
int i;
int ret = 0;
const struct i2c_interface *iface = i2c_if[bus_index];;
const struct i2c_interface *iface = i2c_if[bus_index];
i2c_start(iface);
if (!i2c_outb(iface, bus_address & 0xfe))
@ -173,7 +173,7 @@ int i2c_read_data(int bus_index, int bus_address, int address,
{
int i;
int ret = 0;
const struct i2c_interface *iface = i2c_if[bus_index];;
const struct i2c_interface *iface = i2c_if[bus_index];
if (address != -1)
{

View file

@ -832,7 +832,7 @@ void LCDFN(puts_scroll_style_offset)(int x, int y, const unsigned char *string,
s->y = y;
s->len = utf8length(string);
s->offset = offset;
s->startx = x * s->width / s->len;;
s->startx = x * s->width / s->len;
s->backward = false;
LCDFN(scroll_info).lines++;

View file

@ -1019,7 +1019,7 @@ void lcd_puts_scroll_style_offset(int x, int y, const unsigned char *string,
s->y = y;
s->len = utf8length((char *)string);
s->offset = offset;
s->startx = x * s->width / s->len;;
s->startx = x * s->width / s->len;
s->backward = false;
lcd_scroll_info.lines++;
}

View file

@ -546,7 +546,7 @@ int usb_drv_send(int endpoint, void *ptr, int length)
{
int flags = disable_irq_save();
int rc = 0;
char *data = (unsigned char*) ptr;;
char *data = (unsigned char*) ptr;
DEBUG(2, "%s(%d,%d)" , __func__, endpoint, length);

View file

@ -1134,7 +1134,7 @@ void mpeg_thread(void)
filling = false;
break;;
break;
}

View file

@ -74,7 +74,7 @@ static int calc_checksum(unsigned char* buf, int n)
static void dump_header(unsigned char* buf, int i)
{
printf("0x%08x:\n",i);
printf(" HEADER: 0x%08x\n",i);;
printf(" HEADER: 0x%08x\n",i);
printf(" FirmwareHeaderIndex: 0x%08x\n",get_uint32le(&buf[i]));
printf(" FirmwareChecksum: 0x%08x\n",get_uint32le(&buf[i+0x04]));
printf(" CodeBlockSizeMultiplier: 0x%08x\n",get_uint32le(&buf[i+0x08]));