diff options
| author | Jason Rumney | 2002-03-06 23:14:29 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-03-06 23:14:29 +0000 |
| commit | 14ca7c98497bdfe721a07b2161fbe9447f3ff666 (patch) | |
| tree | 82351ba643f1bd7bbe986e2aa19a8a729aa6a186 /lib-src | |
| parent | 3e549b18cfc2d4b5d68f192718aa57d7935dc20e (diff) | |
| download | emacs-14ca7c98497bdfe721a07b2161fbe9447f3ff666.tar.gz emacs-14ca7c98497bdfe721a07b2161fbe9447f3ff666.zip | |
(put_entries): Use #if !CTAGS, to fix link error on
compilers that don't optimize out dead code.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
| 1895 | put_entries (np->left); | 1895 | put_entries (np->left); |
| 1896 | 1896 | ||
| 1897 | /* Output this entry */ | 1897 | /* Output this entry */ |
| 1898 | if (!CTAGS) | 1898 | #if !CTAGS |
| 1899 | { | 1899 | { |
| 1900 | /* Etags mode */ | 1900 | /* Etags mode */ |
| 1901 | if (file != np->file | 1901 | if (file != np->file |
| @@ -1918,7 +1918,7 @@ put_entries (np) | |||
| 1918 | else | 1918 | else |
| 1919 | fprintf (tagf, "%ld\n", np->cno); | 1919 | fprintf (tagf, "%ld\n", np->cno); |
| 1920 | } | 1920 | } |
| 1921 | else | 1921 | #else |
| 1922 | { | 1922 | { |
| 1923 | /* Ctags mode */ | 1923 | /* Ctags mode */ |
| 1924 | if (np->name == NULL) | 1924 | if (np->name == NULL) |
| @@ -1957,7 +1957,7 @@ put_entries (np) | |||
| 1957 | putc ('\n', tagf); | 1957 | putc ('\n', tagf); |
| 1958 | } | 1958 | } |
| 1959 | } | 1959 | } |
| 1960 | 1960 | #endif | |
| 1961 | 1961 | ||
| 1962 | /* Output subentries that follow this one */ | 1962 | /* Output subentries that follow this one */ |
| 1963 | put_entries (np->right); | 1963 | put_entries (np->right); |