Daniel P. Berrangé 52c7c9d076 ui: avoid 'local_err' variable shadowing in VNC SASL auth
The start_auth_sasl() method declares a 'Error *local_err' variable in
an inner if () {...} scope, which shadows a variable of the same name
declared at the start of the method. This is confusing for reviewers and
may trigger compiler warnings.

Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20180205114938.15784-3-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2018-02-16 12:33:02 +01:00
..
2017-10-17 10:25:42 +02:00
2017-11-10 14:27:29 +01:00
2017-07-27 14:23:09 +02:00
2017-09-19 14:09:34 +02:00
2017-09-13 10:15:43 +02:00
2018-02-16 12:25:35 +01:00
2018-02-16 12:32:35 +01:00
2017-10-17 10:25:42 +02:00
2017-07-27 14:23:09 +02:00
2016-02-04 17:01:04 +00:00
2017-08-31 12:29:07 +02:00
2016-02-04 17:01:04 +00:00
2016-02-04 17:01:04 +00:00
2017-05-12 12:34:31 +02:00