mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-10-01 05:33:49 +00:00
Avoid return null if old or new file fails to load
This commit is contained in:
parent
eb365abd82
commit
75e371dcc5
|
@ -427,8 +427,6 @@ class Gitg.DiffViewFileRendererText : Gtk.SourceView, DiffSelectable, DiffViewFi
|
|||
{
|
||||
stderr.printf(@"ERROR: failed to load $(file.get_path()) for highlighting: $(e.message)\n");
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return buffer;
|
||||
|
|
Loading…
Reference in a new issue