summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plist.c b/src/plist.c
index 677e398..ccb7359 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -207,8 +207,8 @@ plist_err_t plist_from_memory(const char *plist_data, uint32_t length, plist_t *
207 if (!plist_data || length == 0) { 207 if (!plist_data || length == 0) {
208 return PLIST_ERR_INVALID_ARG; 208 return PLIST_ERR_INVALID_ARG;
209 } 209 }
210 plist_format_t fmt = 0; 210 plist_format_t fmt = PLIST_FORMAT_NONE;
211 if (format) *format = 0; 211 if (format) *format = PLIST_FORMAT_NONE;
212 if (plist_is_binary(plist_data, length)) { 212 if (plist_is_binary(plist_data, length)) {
213 res = plist_from_bin(plist_data, length, plist); 213 res = plist_from_bin(plist_data, length, plist);
214 fmt = PLIST_FORMAT_BINARY; 214 fmt = PLIST_FORMAT_BINARY;