using MFU_FLIST_NULL check instead
@@ -1054,8 +1054,8 @@ static void dcmp_strmap_compare(mfu_flist src_list,
mfu_flist dst_compare_list = mfu_flist_subset(dst_list);
/* remove and copy lists for sync option */
- mfu_flist dst_remove_list = NULL;
- mfu_flist src_cp_list = NULL;
+ mfu_flist dst_remove_list = MFU_FLIST_NULL;
+ mfu_flist src_cp_list = MFU_FLIST_NULL;
/* create dst remove list if sync option is on */
if (mfu_copy_opts->do_sync) {
@@ -1221,10 +1221,10 @@ static void dcmp_strmap_compare(mfu_flist src_list,
/* free lists used for copying and removing files in sync option */
/* TODO: fix MFU_FLIST_NULL so that we don't have to do these NULL
* checks here */
- if (src_cp_list != NULL) {
+ if (src_cp_list != MFU_FLIST_NULL) {
mfu_flist_free(&src_cp_list);
}
- if (dst_remove_list != NULL) {
+ if (dst_remove_list != MFU_FLIST_NULL) {
mfu_flist_free(&dst_remove_list);
}
