[Vala] warning: unreachable code detected
- From: Michele Dionisio <michele dionisio gmail com>
- To: Vala List <vala-list gnome org>
- Subject: [Vala] warning: unreachable code detected
- Date: Wed, 30 Jul 2014 17:16:44 +0200
Hi all,
I use quite a log "assert_not_reached" in my vala code, but I have a lot of
warning like:
gio-server-async.vala:2838.9-2838.30: warning: unreachable code detected
assert_not_reached ();
^^^^^^^^^^^^^^^^^^^^^^
I already know that the code is not reached, and it is for that reason that
I use "assert_not_reached" ( I think that the code is more readable), so
the warning is quite useless.
there is a way to decorate "assert_not_reached" to suppress that woring if
it is related only to that line?
regards.
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]