[AdgMarker] Avoid get_segment() when n_segment == 0
commita9ec618831d7292071498a2469a49ce6ca2bb1b1
authorNicola Fontana <ntd@entidi.it>
Mon, 21 Sep 2009 13:07:47 +0000 (21 15:07 +0200)
committerNicola Fontana <ntd@entidi.it>
Mon, 21 Sep 2009 13:07:47 +0000 (21 15:07 +0200)
treecabacacffe3c6c3e1446ec00c82a5c6aa1089436
parent3cd54fd031fefd9719039beb4451c50b66504169
[AdgMarker] Avoid get_segment() when n_segment == 0

It is allowed to set the n_segment to 0, while finalizing the marker for
instance: in this situation the call to adg_trail_get_segment() should
not happen.
adg/adg-marker.c