summaryrefslogtreecommitdiff
path: root/console/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'console/input.c')
-rw-r--r--console/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console/input.c b/console/input.c
index e27d30c8..29e93c76 100644
--- a/console/input.c
+++ b/console/input.c
@@ -90,7 +90,7 @@ void input_destroy (input_t input)
ssize_t input_enqueue (input_t input, int nonblock, char *data,
size_t datalen)
{
- error_t err;
+ error_t err = 0;
int was_empty;
int enqueued = 0;
char *buffer;