aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/protect.c')
-rw-r--r--agent/protect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/protect.c b/agent/protect.c
index 097a1b36b..d6c964121 100644
--- a/agent/protect.c
+++ b/agent/protect.c
@@ -778,7 +778,7 @@ agent_unprotect (const unsigned char *protectedkey, const char *passphrase,
unsigned long s2kcount;
const unsigned char *iv;
const unsigned char *prot_begin;
- unsigned char *cleartext;
+ unsigned char *cleartext = NULL; /* Just to avoid gcc warning. */
unsigned char *final;
size_t finallen;
size_t cutoff, cutlen;