From: Jason Rumney Date: Wed, 6 Mar 2002 23:14:29 +0000 (+0000) Subject: (put_entries): Use #if !CTAGS, to fix link error on X-Git-Tag: ttn-vms-21-2-B4~16296 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14ca7c98497bdfe721a07b2161fbe9447f3ff666;p=emacs.git (put_entries): Use #if !CTAGS, to fix link error on compilers that don't optimize out dead code. --- diff --git a/lib-src/etags.c b/lib-src/etags.c index 52e9d291d0e..60a67ff80f8 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -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);