summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2016-08-23 18:18:50 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2016-08-23 18:18:50 +0900
commitacad0620ef85b725d40d85b181e1aac1de0794c4 (patch)
tree50b2af3407ee1371645f70843143593ce983757b /Src/builtin.c
parentd1d79796fbd2261798011ce810b544b62b0668a1 (diff)
downloadzsh-acad0620ef85b725d40d85b181e1aac1de0794c4.tar.gz
zsh-acad0620ef85b725d40d85b181e1aac1de0794c4.tar.xz
zsh-acad0620ef85b725d40d85b181e1aac1de0794c4.zip
39087: fix 'conditionally uninitialized' variables
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index fb14b2e33..da453000c 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -1610,7 +1610,7 @@ bin_fc(char *nam, char **argv, Options ops, int func)
 		unqueue_signals();
 		if (fcedit(editor, fil)) {
 		    if (stuff(fil))
-			zwarnnam("fc", "%e: %s", errno, s);
+			zwarnnam("fc", "%e: %s", errno, fil);
 		    else {
 			loop(0,1);
 			retval = lastval;