summaryrefslogtreecommitdiffstats
path: root/src/userpref.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/userpref.c')
-rw-r--r--src/userpref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userpref.c b/src/userpref.c
index 4c72981..d9dcaec 100644
--- a/src/userpref.c
+++ b/src/userpref.c
@@ -604,7 +604,7 @@ userpref_error_t userpref_remove_device_public_key(const char *uuid)
*/
static int userpref_get_file_contents(const char *file, key_data_t * data)
{
- int success;
+ int success = 0;
unsigned long int size = 0;
unsigned char *content = NULL;
const char *config_path;