treewide: Remove the unnecessary space before semicolon
PATCH 1/1 treewide: Remove the unnecessary space before semicolon
%s/return ;/return;
Signed-off-by Bin Meng <[email protected]>
---
include/hw/elf_ops.h | 2 +- hw/9pfs/9p.c | 2 +- hw/dma/pl330.c | 2 +- hw/net/can/can_sja1000.c | 2 +- hw/timer/renesas_cmt.c | 2 +- hw/timer/renesas_tmr.c | 8 ++++---- hw/virtio/virtio-pci.c | 2 +- target/riscv/vector_helper.c | 2 +- target/rx/op_helper.c | 4 ++-- ui/vnc-jobs.c | 2 +- ui/vnc.c | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-)
include/hw/elf_ops.h +1 -1
@@ -117,7 +117,7 @@ static void glue(load_symbols, SZ)(struct elfhdr *ehdr, int fd, int must_swab, shdr_table =load_at (fd, ehdr->e_shoff,sizeof (struct elf_shdr ) * ehdr->e_shnum);if (!shdr_table) { -return ; +return ; }if (must_swab) {
hw/9pfs/9p.c +1 -1
@@ -1786,7 +1786,7 @@ static void coroutine_fn v9fs_walk(void *opaque) err =pdu_unmarshal (pdu, offset,"ddw" , &fid, &newfid, &nwnames);if (err <0 ) {pdu_complete (pdu, err); -return ; +return ; } offset += err;
hw/dma/pl330.c +1 -1
@@ -1328,7 +1328,7 @@ static void pl330_debug_exec(PL330State *s) }if (!insn) {pl330_fault (ch,PL330_FAULT_UNDEF_INSTR |PL330_FAULT_DBG_INSTR ); -return ; +return ; } ch->stall =0 ; insn->exec (ch, opcode, args, insn->size -1 );
hw/net/can/can_sja1000.c +1 -1
@@ -431,7 +431,7 @@ void can_sja_mem_write(CanSJA1000State *s, hwaddr addr, uint64_t val, (unsigned long long)val, (unsigned int)addr);if (addr >CAN_SJA_MEM_SIZE ) { -return ; +return ; }if (s->clock &0x80 ) {/* PeliCAN Mode */
hw/timer/renesas_cmt.c +1 -1
@@ -57,7 +57,7 @@ static void update_events(RCMTState *cmt, int ch)if ((cmt->cmstr & (1 << ch)) ==0 ) {/* count disable, so not happened next event. */ -return ; +return ; } next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; next_time *=NANOSECONDS_PER_SECOND ;
hw/timer/renesas_tmr.c +4 -4
@@ -67,18 +67,18 @@ static void update_events(RTMRState *tmr, int ch)int i, event;if (tmr->tccr[ch] ==0 ) { -return ; +return ; }if (FIELD_EX8 (tmr->tccr[ch],TCCR ,CSS ) ==0 ) {/* external clock mode */ /* event not happened */ -return ; +return ; }if (FIELD_EX8 (tmr->tccr[0 ],TCCR ,CSS ) ==CSS_CASCADING ) {/* cascading mode */ if (ch ==1 ) { tmr->next[ch] = none; -return ; +return ; } diff[cmia] =concat_reg (tmr->tcora) -concat_reg (tmr->tcnt); diff[cmib] =concat_reg (tmr->tcorb) -concat_reg (tmr->tcnt);
@@ -384,7 +384,7 @@ static void timer_events(RTMRState *tmr, int ch) tmr->tcorb[ch]) & 0xff; }else {if (ch ==1 ) { -return ; +return ; } tcnt = issue_event(tmr, ch, 16, concat_reg(tmr->tcnt),
hw/virtio/virtio-pci.c +1 -1
@@ -1675,7 +1675,7 @@ static void virtio_pci_device_plugged(DeviceState *d, Error **errp)if (virtio_host_has_feature (vdev,VIRTIO_F_IOMMU_PLATFORM )) {error_setg (errp,"VIRTIO_F_IOMMU_PLATFORM was supported by" " neither legacy nor transitional device" ); -return ; +return ; }/* * Legacy and transitional devices use specific subsystem IDs.
target/riscv/vector_helper.c +1 -1
@@ -211,7 +211,7 @@ static void vext_set_elems_1s(void *base, uint32_t is_agnostic, uint32_t cnt,return ; }if (tot - cnt ==0 ) { -return ; +return ; }memset (base + cnt,-1 , tot - cnt); }
target/rx/op_helper.c +2 -2
@@ -286,7 +286,7 @@ void helper_suntil(CPURXState *env, uint32_t sz)uint32_t tmp;tcg_debug_assert (sz <3 );if (env->regs[3 ] ==0 ) { -return ; +return ; } do { tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());
@@ -305,7 +305,7 @@ void helper_swhile(CPURXState *env, uint32_t sz)uint32_t tmp;tcg_debug_assert (sz <3 );if (env->regs[3 ] ==0 ) { -return ; +return ; } do { tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());
ui/vnc-jobs.c +1 -1
@@ -373,7 +373,7 @@ void vnc_start_worker_thread(void)VncJobQueue *q;if (vnc_worker_thread_running ()) -return ; +return ; q =vnc_queue_init (); qemu_thread_create(&q->thread, "vnc_worker", vnc_worker_thread, q,
ui/vnc.c +1 -1
@@ -3085,7 +3085,7 @@ static void vnc_rect_updated(VncDisplay *vd, int x, int y, struct timeval * tv) rect =vnc_stat_rect (vd, x, y);if (rect->updated) { -return ; +return ; } rect->times[rect->idx] = *tv; rect->idx = (rect->idx +1 ) %ARRAY_SIZE (rect->times);
Signature · 1 line
2.25.1
Hllo Bin Meng,
I ACK the change for SJA1000.
Quoted 10 lines · On Monday 24 of October 2022 09:28:02 Bin Meng wrote:
%s/return ;/return;
Signed-off-by Bin Meng <[email protected]>---
include/hw/elf_ops.h | 2 +- hw/9pfs/9p.c | 2 +- hw/dma/pl330.c | 2 +-hw/net/can/can_sja1000.c | 2 +-
Acked-by Pave Pisa <[email protected]>
Quoted 23 lines
hw/timer/renesas_cmt.c | 2 +- hw/timer/renesas_tmr.c | 8 ++++---- hw/virtio/virtio-pci.c | 2 +- target/riscv/vector_helper.c | 2 +- target/rx/op_helper.c | 4 ++-- ui/vnc-jobs.c | 2 +- ui/vnc.c | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-)hw/net/can/can_sja1000.c +1
-1@@ -431,7 +431,7 @@ void can_sja_mem_write(CanSJA1000State *s, hwaddr addr, uint64_t val, (unsigned long long)val, (unsigned int)addr);if (addr >CAN_SJA_MEM_SIZE ) { -return ; +return ; }if (s->clock &0x80 ) {/* PeliCAN Mode */
Signature · 12 lines
Pavel Pisa
phone: +420 603531357
e-mail: [email protected]
Department of Control Engineering FEE CVUT
Karlovo namesti 13, 121 35, Prague 2
university: http://control.fel.cvut.cz/
personal: http://cmp.felk.cvut.cz/~pisa
projects: https://www.openhub.net/accounts/ppisa
CAN related:http://canbus.pages.fel.cvut.cz/
RISC-V education: https://comparch.edu.cvut.cz/
Open Technologies Research Education and Exchange Services
https://gitlab.fel.cvut.cz/otrees/org/-/wikis/homeQuoted 3 lines · Bin Meng
%s/return ;/return;
Signed-off-by Bin Meng <[email protected]>
ack for virtio
trivial tree pls
Quoted 191 lines
---
include/hw/elf_ops.h | 2 +- hw/9pfs/9p.c | 2 +- hw/dma/pl330.c | 2 +- hw/net/can/can_sja1000.c | 2 +- hw/timer/renesas_cmt.c | 2 +- hw/timer/renesas_tmr.c | 8 ++++---- hw/virtio/virtio-pci.c | 2 +- target/riscv/vector_helper.c | 2 +- target/rx/op_helper.c | 4 ++-- ui/vnc-jobs.c | 2 +- ui/vnc.c | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-)include/hw/elf_ops.h +1
-1@@ -117,7 +117,7 @@ static void glue(load_symbols, SZ)(struct elfhdr *ehdr, int fd, int must_swab, shdr_table =load_at (fd, ehdr->e_shoff,sizeof (struct elf_shdr ) * ehdr->e_shnum);if (!shdr_table) { -return ; +return ; }if (must_swab) {hw/9pfs/9p.c +1
-1@@ -1786,7 +1786,7 @@ static void coroutine_fn v9fs_walk(void *opaque) err =pdu_unmarshal (pdu, offset,"ddw" , &fid, &newfid, &nwnames);if (err <0 ) {pdu_complete (pdu, err); -return ; +return ; } offset += err;hw/dma/pl330.c +1
-1@@ -1328,7 +1328,7 @@ static void pl330_debug_exec(PL330State *s) }if (!insn) {pl330_fault (ch,PL330_FAULT_UNDEF_INSTR |PL330_FAULT_DBG_INSTR ); -return ; +return ; } ch->stall =0 ; insn->exec (ch, opcode, args, insn->size -1 );hw/net/can/can_sja1000.c +1
-1@@ -431,7 +431,7 @@ void can_sja_mem_write(CanSJA1000State *s, hwaddr addr, uint64_t val, (unsigned long long)val, (unsigned int)addr);if (addr >CAN_SJA_MEM_SIZE ) { -return ; +return ; }if (s->clock &0x80 ) {/* PeliCAN Mode */ hw/timer/renesas_cmt.c +1
-1@@ -57,7 +57,7 @@ static void update_events(RCMTState *cmt, int ch)if ((cmt->cmstr & (1 << ch)) ==0 ) {/* count disable, so not happened next event. */ -return ; +return ; } next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; next_time *=NANOSECONDS_PER_SECOND ;hw/timer/renesas_tmr.c +4
-4@@ -67,18 +67,18 @@ static void update_events(RTMRState *tmr, int ch)int i, event;if (tmr->tccr[ch] ==0 ) { -return ; +return ; }if (FIELD_EX8 (tmr->tccr[ch],TCCR ,CSS ) ==0 ) {/* external clock mode */ /* event not happened */ -return ; +return ; }if (FIELD_EX8 (tmr->tccr[0 ],TCCR ,CSS ) ==CSS_CASCADING ) {/* cascading mode */ if (ch ==1 ) { tmr->next[ch] = none; -return ; +return ; } diff[cmia] =concat_reg (tmr->tcora) -concat_reg (tmr->tcnt); diff[cmib] =concat_reg (tmr->tcorb) -concat_reg (tmr->tcnt);@@ -384,7 +384,7 @@ static void timer_events(RTMRState *tmr, int ch) tmr->tcorb[ch]) & 0xff; }else {if (ch ==1 ) { -return ; +return ; } tcnt = issue_event(tmr, ch, 16, concat_reg(tmr->tcnt),hw/virtio/virtio-pci.c +1
-1@@ -1675,7 +1675,7 @@ static void virtio_pci_device_plugged(DeviceState *d, Error **errp)if (virtio_host_has_feature (vdev,VIRTIO_F_IOMMU_PLATFORM )) {error_setg (errp,"VIRTIO_F_IOMMU_PLATFORM was supported by" " neither legacy nor transitional device" ); -return ; +return ; }/* * Legacy and transitional devices use specific subsystem IDs. target/riscv/vector_helper.c +1
-1@@ -211,7 +211,7 @@ static void vext_set_elems_1s(void *base, uint32_t is_agnostic, uint32_t cnt,return ; }if (tot - cnt ==0 ) { -return ; +return ; }memset (base + cnt,-1 , tot - cnt); }target/rx/op_helper.c +2
-2@@ -286,7 +286,7 @@ void helper_suntil(CPURXState *env, uint32_t sz)uint32_t tmp;tcg_debug_assert (sz <3 );if (env->regs[3 ] ==0 ) { -return ; +return ; } do { tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());@@ -305,7 +305,7 @@ void helper_swhile(CPURXState *env, uint32_t sz)uint32_t tmp;tcg_debug_assert (sz <3 );if (env->regs[3 ] ==0 ) { -return ; +return ; } do { tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());ui/vnc-jobs.c +1
-1@@ -373,7 +373,7 @@ void vnc_start_worker_thread(void)VncJobQueue *q;if (vnc_worker_thread_running ()) -return ; +return ; q =vnc_queue_init (); qemu_thread_create(&q->thread, "vnc_worker", vnc_worker_thread, q,ui/vnc.c +1
-1@@ -3085,7 +3085,7 @@ static void vnc_rect_updated(VncDisplay *vd, int x, int y, struct timeval * tv) rect =vnc_stat_rect (vd, x, y);if (rect->updated) { -return ; +return ; } rect->times[rect->idx] = *tv; rect->idx = (rect->idx +1 ) %ARRAY_SIZE (rect->times);Signature · 1 line
2.25.1
Quoted 5 lines · Bin Meng
%s/return ;/return;
Signed-off-by Bin Meng <[email protected]>---
Reviewed-by Peter Maydell <[email protected]>
thanks
-- PMM
Quoted 4 lines · CEST Bin Meng
%s/return ;/return;
Signed-off-by Bin Meng <[email protected]>---
Reviewed-by Christian Schoenebeck <[email protected]>
Quoted 189 lines
include/hw/elf_ops.h | 2 +- hw/9pfs/9p.c | 2 +- hw/dma/pl330.c | 2 +- hw/net/can/can_sja1000.c | 2 +- hw/timer/renesas_cmt.c | 2 +- hw/timer/renesas_tmr.c | 8 ++++---- hw/virtio/virtio-pci.c | 2 +- target/riscv/vector_helper.c | 2 +- target/rx/op_helper.c | 4 ++-- ui/vnc-jobs.c | 2 +- ui/vnc.c | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-)include/hw/elf_ops.h +1
-1@@ -117,7 +117,7 @@ static void glue(load_symbols, SZ)(struct elfhdr *ehdr, int fd, int must_swab, shdr_table =load_at (fd, ehdr->e_shoff,sizeof (struct elf_shdr ) * ehdr->e_shnum);if (!shdr_table) { -return ; +return ; }if (must_swab) {hw/9pfs/9p.c +1
-1@@ -1786,7 +1786,7 @@ static void coroutine_fn v9fs_walk(void *opaque) err =pdu_unmarshal (pdu, offset,"ddw" , &fid, &newfid, &nwnames);if (err <0 ) {pdu_complete (pdu, err); -return ; +return ; } offset += err;hw/dma/pl330.c +1
-1@@ -1328,7 +1328,7 @@ static void pl330_debug_exec(PL330State *s) }if (!insn) {pl330_fault (ch,PL330_FAULT_UNDEF_INSTR |PL330_FAULT_DBG_INSTR ); -return ; +return ; } ch->stall =0 ; insn->exec (ch, opcode, args, insn->size -1 );hw/net/can/can_sja1000.c +1
-1@@ -431,7 +431,7 @@ void can_sja_mem_write(CanSJA1000State *s, hwaddr addr, uint64_t val, (unsigned long long)val, (unsigned int)addr);if (addr >CAN_SJA_MEM_SIZE ) { -return ; +return ; }if (s->clock &0x80 ) {/* PeliCAN Mode */ hw/timer/renesas_cmt.c +1
-1@@ -57,7 +57,7 @@ static void update_events(RCMTState *cmt, int ch)if ((cmt->cmstr & (1 << ch)) ==0 ) {/* count disable, so not happened next event. */ -return ; +return ; } next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; next_time *=NANOSECONDS_PER_SECOND ;hw/timer/renesas_tmr.c +4
-4@@ -67,18 +67,18 @@ static void update_events(RTMRState *tmr, int ch)int i, event;if (tmr->tccr[ch] ==0 ) { -return ; +return ; }if (FIELD_EX8 (tmr->tccr[ch],TCCR ,CSS ) ==0 ) {/* external clock mode */ /* event not happened */ -return ; +return ; }if (FIELD_EX8 (tmr->tccr[0 ],TCCR ,CSS ) ==CSS_CASCADING ) {/* cascading mode */ if (ch ==1 ) { tmr->next[ch] = none; -return ; +return ; } diff[cmia] =concat_reg (tmr->tcora) -concat_reg (tmr->tcnt); diff[cmib] =concat_reg (tmr->tcorb) -concat_reg (tmr->tcnt);@@ -384,7 +384,7 @@ static void timer_events(RTMRState *tmr, int ch) tmr->tcorb[ch]) & 0xff; }else {if (ch ==1 ) { -return ; +return ; } tcnt = issue_event(tmr, ch, 16, concat_reg(tmr->tcnt),hw/virtio/virtio-pci.c +1
-1@@ -1675,7 +1675,7 @@ static void virtio_pci_device_plugged(DeviceState *d, Error **errp)if (virtio_host_has_feature (vdev,VIRTIO_F_IOMMU_PLATFORM )) {error_setg (errp,"VIRTIO_F_IOMMU_PLATFORM was supported by" " neither legacy nor transitional device" ); -return ; +return ; }/* * Legacy and transitional devices use specific subsystem IDs. target/riscv/vector_helper.c +1
-1@@ -211,7 +211,7 @@ static void vext_set_elems_1s(void *base, uint32_t is_agnostic, uint32_t cnt,return ; }if (tot - cnt ==0 ) { -return ; +return ; }memset (base + cnt,-1 , tot - cnt); }target/rx/op_helper.c +2
-2@@ -286,7 +286,7 @@ void helper_suntil(CPURXState *env, uint32_t sz)uint32_t tmp;tcg_debug_assert (sz <3 );if (env->regs[3 ] ==0 ) { -return ; +return ; } do { tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());@@ -305,7 +305,7 @@ void helper_swhile(CPURXState *env, uint32_t sz)uint32_t tmp;tcg_debug_assert (sz <3 );if (env->regs[3 ] ==0 ) { -return ; +return ; } do { tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());ui/vnc-jobs.c +1
-1@@ -373,7 +373,7 @@ void vnc_start_worker_thread(void)VncJobQueue *q;if (vnc_worker_thread_running ()) -return ; +return ; q =vnc_queue_init (); qemu_thread_create(&q->thread, "vnc_worker", vnc_worker_thread, q,ui/vnc.c +1
-1@@ -3085,7 +3085,7 @@ static void vnc_rect_updated(VncDisplay *vd, int x, int y, struct timeval * tv) rect =vnc_stat_rect (vd, x, y);if (rect->updated) { -return ; +return ; } rect->times[rect->idx] = *tv; rect->idx = (rect->idx +1 ) %ARRAY_SIZE (rect->times);
Laurent Vivier
AppliedLe 24/10/2022 à 09:28, Bin Meng a écrit :
Quoted 184 lines
%s/return ;/return;
Signed-off-by Bin Meng <[email protected]>---
include/hw/elf_ops.h | 2 +- hw/9pfs/9p.c | 2 +- hw/dma/pl330.c | 2 +- hw/net/can/can_sja1000.c | 2 +- hw/timer/renesas_cmt.c | 2 +- hw/timer/renesas_tmr.c | 8 ++++---- hw/virtio/virtio-pci.c | 2 +- target/riscv/vector_helper.c | 2 +- target/rx/op_helper.c | 4 ++-- ui/vnc-jobs.c | 2 +- ui/vnc.c | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-)include/hw/elf_ops.h +1
-1@@ -117,7 +117,7 @@ static void glue(load_symbols, SZ)(struct elfhdr *ehdr, int fd, int must_swab, shdr_table =load_at (fd, ehdr->e_shoff,sizeof (struct elf_shdr ) * ehdr->e_shnum);if (!shdr_table) { -return ; +return ; }if (must_swab) {hw/9pfs/9p.c +1
-1@@ -1786,7 +1786,7 @@ static void coroutine_fn v9fs_walk(void *opaque) err =pdu_unmarshal (pdu, offset,"ddw" , &fid, &newfid, &nwnames);if (err <0 ) {pdu_complete (pdu, err); -return ; +return ; } offset += err;hw/dma/pl330.c +1
-1@@ -1328,7 +1328,7 @@ static void pl330_debug_exec(PL330State *s) }if (!insn) {pl330_fault (ch,PL330_FAULT_UNDEF_INSTR |PL330_FAULT_DBG_INSTR ); -return ; +return ; } ch->stall =0 ; insn->exec (ch, opcode, args, insn->size -1 );hw/net/can/can_sja1000.c +1
-1@@ -431,7 +431,7 @@ void can_sja_mem_write(CanSJA1000State *s, hwaddr addr, uint64_t val, (unsigned long long)val, (unsigned int)addr);if (addr >CAN_SJA_MEM_SIZE ) { -return ; +return ; }if (s->clock &0x80 ) {/* PeliCAN Mode */ hw/timer/renesas_cmt.c +1
-1@@ -57,7 +57,7 @@ static void update_events(RCMTState *cmt, int ch)if ((cmt->cmstr & (1 << ch)) ==0 ) {/* count disable, so not happened next event. */ -return ; +return ; } next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; next_time *=NANOSECONDS_PER_SECOND ;hw/timer/renesas_tmr.c +4
-4@@ -67,18 +67,18 @@ static void update_events(RTMRState *tmr, int ch)int i, event;if (tmr->tccr[ch] ==0 ) { -return ; +return ; }if (FIELD_EX8 (tmr->tccr[ch],TCCR ,CSS ) ==0 ) {/* external clock mode */ /* event not happened */ -return ; +return ; }if (FIELD_EX8 (tmr->tccr[0 ],TCCR ,CSS ) ==CSS_CASCADING ) {/* cascading mode */ if (ch ==1 ) { tmr->next[ch] = none; -return ; +return ; } diff[cmia] =concat_reg (tmr->tcora) -concat_reg (tmr->tcnt); diff[cmib] =concat_reg (tmr->tcorb) -concat_reg (tmr->tcnt);@@ -384,7 +384,7 @@ static void timer_events(RTMRState *tmr, int ch) tmr->tcorb[ch]) & 0xff; }else {if (ch ==1 ) { -return ; +return ; } tcnt = issue_event(tmr, ch, 16, concat_reg(tmr->tcnt),hw/virtio/virtio-pci.c +1
-1@@ -1675,7 +1675,7 @@ static void virtio_pci_device_plugged(DeviceState *d, Error **errp)if (virtio_host_has_feature (vdev,VIRTIO_F_IOMMU_PLATFORM )) {error_setg (errp,"VIRTIO_F_IOMMU_PLATFORM was supported by" " neither legacy nor transitional device" ); -return ; +return ; }/* * Legacy and transitional devices use specific subsystem IDs. target/riscv/vector_helper.c +1
-1@@ -211,7 +211,7 @@ static void vext_set_elems_1s(void *base, uint32_t is_agnostic, uint32_t cnt,return ; }if (tot - cnt ==0 ) { -return ; +return ; }memset (base + cnt,-1 , tot - cnt); }target/rx/op_helper.c +2
-2@@ -286,7 +286,7 @@ void helper_suntil(CPURXState *env, uint32_t sz)uint32_t tmp;tcg_debug_assert (sz <3 );if (env->regs[3 ] ==0 ) { -return ; +return ; } do { tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());@@ -305,7 +305,7 @@ void helper_swhile(CPURXState *env, uint32_t sz)uint32_t tmp;tcg_debug_assert (sz <3 );if (env->regs[3 ] ==0 ) { -return ; +return ; } do { tmp = cpu_ldufn[sz](env, env->regs[1], GETPC());ui/vnc-jobs.c +1
-1@@ -373,7 +373,7 @@ void vnc_start_worker_thread(void)VncJobQueue *q;if (vnc_worker_thread_running ()) -return ; +return ; q =vnc_queue_init (); qemu_thread_create(&q->thread, "vnc_worker", vnc_worker_thread, q,ui/vnc.c +0
-0
ui/vnc.c static void vnc_rect_updated(VncDisplay *vd, int x, int y, struct timeval * tv) · line 3091
Quoted 8 lines
ui/vnc.c +1
-1@@ -3085,7 +3085,7 @@ static void vnc_rect_updated(VncDisplay *vd, int x, int y, struct timeval * tv) rect =vnc_stat_rect (vd, x, y);if (rect->updated) { -return ; +return ; } rect->times[rect->idx] = *tv; rect->idx = (rect->idx +1 ) %ARRAY_SIZE (rect->times);
Applied to my trivial-patches branch.
Thanks,
Laurent