From: Han-Wen Nienhuys Date: Sat, 6 Jan 2007 19:35:22 +0000 (+0100) Subject: assert Grob_info doesn't get null pointers. X-Git-Tag: release/2.11.10-1~50 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2dcf4945fda14e19beea9aac0db33e2dfc60ab89;p=lilypond.git assert Grob_info doesn't get null pointers. --- diff --git a/lily/grob-info.cc b/lily/grob-info.cc index 62af8f3256..aa6583f927 100644 --- a/lily/grob-info.cc +++ b/lily/grob-info.cc @@ -19,6 +19,11 @@ Grob_info::Grob_info (Translator *t, Grob *g) origin_trans_ = t; grob_ = g; start_end_ = START; + + /* + assert here, because this is easier to debug. + */ + assert (g); } Grob_info::Grob_info ()