summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
604 */ 604 */
605static int userpref_get_file_contents(const char *file, key_data_t * data) 605static int userpref_get_file_contents(const char *file, key_data_t * data)
606{ 606{
607 int success; 607 int success = 0;
608 unsigned long int size = 0; 608 unsigned long int size = 0;
609 unsigned char *content = NULL; 609 unsigned char *content = NULL;
610 const char *config_path; 610 const char *config_path;