Commit 14ca7c98 authored by Jason Rumney's avatar Jason Rumney
Browse files

(put_entries): Use #if !CTAGS, to fix link error on

compilers that don't optimize out dead code.
parent 3e549b18
......@@ -1895,7 +1895,7 @@ put_entries (np)
put_entries (np->left);
/* Output this entry */
if (!CTAGS)
#if !CTAGS
{
/* Etags mode */
if (file != np->file
......@@ -1918,7 +1918,7 @@ put_entries (np)
else
fprintf (tagf, "%ld\n", np->cno);
}
else
#else
{
/* Ctags mode */
if (np->name == NULL)
......@@ -1957,7 +1957,7 @@ put_entries (np)
putc ('\n', tagf);
}
}
#endif
/* Output subentries that follow this one */
put_entries (np->right);
......
Markdown is supported
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