Fixed embedded atf code warning (RT 46833)
This commit is contained in:
@@ -285,7 +285,9 @@ list_tcs(const atf_tp_t *tp)
|
||||
|
||||
atf_utils_free_charpp(vars);
|
||||
}
|
||||
free(tcs);
|
||||
#define UNCONST(a) ((void *)(unsigned long)(const void *)(a))
|
||||
free(UNCONST(tcs));
|
||||
#undef UNCONST
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user