Commit d7a7b844 authored by Howard Chu's avatar Howard Chu
Browse files

More cleanup. The last, I hope.

parent aeba8c29
......@@ -675,7 +675,7 @@ glue_tool_entry_next (
int i;
ID rc;
if (!glueBack)
if (!glueBack || !glueBack->be_entry_next)
return NOID;
rc = glueBack->be_entry_next (glueBack);
......@@ -704,6 +704,9 @@ glue_tool_entry_get (
ID id
)
{
if (!glueBack || !glueBack->be_entry_get)
return NULL;
return glueBack->be_entry_get (glueBack, id);
}
......@@ -744,7 +747,7 @@ glue_tool_entry_reindex (
ID id
)
{
if (!glueBack->be_entry_reindex)
if (!glueBack || !glueBack->be_entry_reindex)
return -1;
return glueBack->be_entry_reindex (glueBack, id);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment