summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-10-08 19:26:53 +0200
committerGravatar Martin Szulecki2012-03-19 01:45:26 +0100
commit6e092c84d060fe4e0e9ddea8801c42425cd59afa (patch)
tree28eee84d84aa777e30639db98d633876901bd38b
parent89dd2654339ad3f0123798e453513e8c62d0fd77 (diff)
downloadlibimobiledevice-6e092c84d060fe4e0e9ddea8801c42425cd59afa.tar.gz
libimobiledevice-6e092c84d060fe4e0e9ddea8801c42425cd59afa.tar.bz2
Fix uninitialized variable
-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;