summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorBin Meng2022-10-24 09:28:02 +0200
committerLaurent Vivier2022-10-24 13:41:10 +0200
commitc1dadb8462ff5021218f2c1aa015594952f441ca (patch)
treeb263025d7ce8b2da1406793b869388cc9aedeb6f /ui
parentinclude/hw/scsi/scsi.h: Remove unused scsi_legacy_handle_cmdline() prototype (diff)
downloadqemu-c1dadb8462ff5021218f2c1aa015594952f441ca.tar.gz
qemu-c1dadb8462ff5021218f2c1aa015594952f441ca.tar.xz
qemu-c1dadb8462ff5021218f2c1aa015594952f441ca.zip
treewide: Remove the unnecessary space before semicolon
%s/return ;/return; Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Message-Id: <20221024072802.457832-1-bmeng@tinylab.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'ui')
-rw-r--r--ui/vnc-jobs.c2
-rw-r--r--ui/vnc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/vnc-jobs.c b/ui/vnc-jobs.c
index 4562bf8928..886f9bf611 100644
--- a/ui/vnc-jobs.c
+++ b/ui/vnc-jobs.c
@@ -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,
diff --git a/ui/vnc.c b/ui/vnc.c
index acb3629cd8..88f55cbf3c 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -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);