summaryrefslogtreecommitdiff
path: root/utils/shd.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/shd.c')
-rw-r--r--utils/shd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/shd.c b/utils/shd.c
index a1a4b26b..feff6135 100644
--- a/utils/shd.c
+++ b/utils/shd.c
@@ -106,7 +106,8 @@ run (char **argv, int fd0, int fd1)
}
else
{
- int save0, save1;
+ int save0 = -1;
+ int save1;
inline int movefd (int from, int to, int *save)
{