summaryrefslogtreecommitdiff
path: root/lib/src/rdline.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/rdline.c')
-rw-r--r--lib/src/rdline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/src/rdline.c b/lib/src/rdline.c
index b108ef2..18c9c85 100644
--- a/lib/src/rdline.c
+++ b/lib/src/rdline.c
@@ -120,8 +120,7 @@ static int rdline_append(rdline_t *t, int c)
char *rdline(int fd, int argc, const char *const *argv)
{
rdline_t rd;
- int ret;
- char c;
+ int c, ret;
memset(&rd, 0, sizeof(rd));
rd.fd = fd;