Alex Bennée
d9d2663c33
ui/vnc-enc-tight: remove switch and have single return
...
When enabling the sanitizer build it will complain about control
reaching a non-void function. Normally the compiler should detect that
there is only one possible exit given a static VNC_SERVER_FB_BYTES.
As we always expect a static VNC_SERVER_FB_BYTES I've added a compile
time assert and just called the sub-function directly.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2016-09-28 12:55:09 +02:00
..
2015-05-05 10:48:22 +02:00
2016-09-23 13:44:47 +02:00
2016-06-10 11:13:59 +02:00
2016-09-28 12:49:35 +02:00
2016-07-12 16:20:46 +02:00
2016-09-13 08:01:39 +02:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:30 +01:00
2016-06-20 16:38:13 +02:00
2016-02-04 17:01:04 +00:00
2016-06-03 08:23:26 +02:00
2016-07-06 10:32:14 +02:00
2016-07-11 10:40:29 +01:00
2016-06-10 11:13:15 +02:00
2016-03-18 10:29:26 +01:00
2016-03-18 10:29:26 +01:00
2016-07-12 09:25:50 +02:00
2016-03-18 10:29:26 +01:00
2016-02-04 17:01:04 +00:00
2016-07-12 16:20:46 +02:00
2016-03-08 12:20:11 +01:00
2016-06-20 16:38:13 +02:00
2012-12-19 08:31:30 +01:00
2016-06-03 08:23:26 +02:00
2016-07-06 10:32:14 +02:00
2016-02-04 17:01:04 +00:00
2014-09-16 08:07:05 +02:00
2016-06-03 08:23:26 +02:00
2014-03-05 09:52:05 +01:00
2013-01-15 18:25:30 -06:00
2016-06-07 18:19:24 +03:00
2016-07-12 16:20:46 +02:00
2016-03-22 22:20:17 +01:00
2016-05-12 16:41:46 +02:00
2016-09-23 11:42:52 +08:00
2016-09-28 12:49:36 +02:00
2016-03-01 08:19:07 +01:00
2016-08-12 10:36:01 +01:00
2012-12-19 08:31:30 +01:00
2015-03-10 08:15:34 +03:00
2016-03-22 22:20:15 +01:00
2016-07-12 16:20:46 +02:00
2016-03-22 22:20:15 +01:00
2016-07-12 16:20:46 +02:00
2012-11-01 14:00:04 +01:00
2016-02-04 17:01:04 +00:00
2016-09-28 12:55:09 +02:00
2016-07-12 16:19:16 +02:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2016-07-12 16:19:16 +02:00
2016-02-04 17:01:04 +00:00
2016-07-12 16:19:16 +02:00
2016-02-04 17:01:04 +00:00
2015-03-10 08:15:33 +03:00
2016-06-07 18:19:24 +03:00
2016-02-23 12:43:05 +00:00
2016-05-19 16:42:28 +02:00
2016-07-12 16:20:46 +02:00
2016-09-13 08:01:39 +02:00
2016-07-12 16:20:46 +02:00
2016-02-04 17:01:04 +00:00
2011-01-23 16:21:20 +00:00