From: jiho-sf Date: Wed, 2 Jan 2008 21:40:08 +0000 (+0000) Subject: fix for gcc 3.3 by John Faith. https://bugs.launchpad.net/inkscape/+bug/178180 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ed9a27912899225cb2ed96d41bdb46cbb16173c6;p=inkscape.git fix for gcc 3.3 by John Faith. https://bugs.launchpad.net/inkscape/+bug/178180 --- diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 38552f7f7..55c9ea3c7 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -1391,7 +1391,8 @@ void sp_node_selected_move_absolute(Inkscape::NodePath::Path *nodepath, NR::Coor */ NR::Maybe sp_node_selected_common_coord (Inkscape::NodePath::Path *nodepath, NR::Dim2 axis) { - g_return_val_if_fail(nodepath->selected, NR::Nothing()); + NR::Maybe no_coord = NR::Nothing(); + g_return_val_if_fail(nodepath->selected, no_coord); // determine coordinate of first selected node GList *nsel = nodepath->selected;