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.
_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to