diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-08-22 13:54:04 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-08-22 14:02:21 -0700 |
commit | a3b63ab67d4952b7b5293d5f0d45a8f9757ca17e (patch) | |
tree | 8a1c71da6118a426fd1470e6761354a09ebfc1b9 /src | |
parent | 7ec5eb6c97b0a472ae7323a7d59bff9ed6f6abe9 (diff) | |
download | diffutils-a3b63ab67d4952b7b5293d5f0d45a8f9757ca17e.tar.gz |
maint: omit unused function if not debugging
* src/util.c (debug_script): Compile only if DEBUG.
Diffstat (limited to 'src')
-rw-r--r-- | src/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1547,6 +1547,7 @@ concat (char const *s1, char const *s2, char const *s3) return new; } +#ifdef DEBUG void debug_script (struct change *sp) { @@ -1564,3 +1565,4 @@ debug_script (struct change *sp) fflush (stderr); } +#endif |