about summary refs log tree commit diff
path: root/Src/input.c
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@zsh.org>2023-10-26 08:27:18 -0700
committerBart Schaefer <schaefer@zsh.org>2023-10-26 08:27:18 -0700
commit98a6892cb138a53dc4a265e29e60dbbd813f3d73 (patch)
treec199aa5da26d9d02912abe1c71df5b6b70e24bb3 /Src/input.c
parent0c15cc8712b5b3c83d52b1c27f416db80d3426aa (diff)
downloadzsh-98a6892cb138a53dc4a265e29e60dbbd813f3d73.tar.gz
zsh-98a6892cb138a53dc4a265e29e60dbbd813f3d73.tar.xz
zsh-98a6892cb138a53dc4a265e29e60dbbd813f3d73.zip
52244: Fix a batch of minor defects reported by Coverity.
Coverity defects 1547831, 1547826 (remove unused function), 1521551,
1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789,
1255787, 1255782, 1255750
Diffstat (limited to 'Src/input.c')
-rw-r--r--Src/input.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Src/input.c b/Src/input.c
index dd8f2edc7..d8ac2c0e7 100644
--- a/Src/input.c
+++ b/Src/input.c
@@ -643,18 +643,6 @@ zstuff(char **out, const char *fn)
     return len;
 }
 
-/**/
-char *
-ztuff(const char *fn)
-{
-    char *buf;
-    off_t len = zstuff(&buf, fn);
-    if (len > 0)
-	return buf;
-    else
-	return NULL;
-}
-
 /* stuff a whole file into the input queue and print it */
 
 /**/